React with Mobx and TypeScript course introduction

Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 5 years ago

Developing logic rich applications is becoming more and more common nowadays. The TypeScript-React combination enables a great developer experience in terms of writing understandable and refactorable HTML. However the default state management for React leaves much to be desired in terms of simplicity and maintainability. MobX can great enhance your state management developer experience as we cover in this course.

Instructor: [00:01] In this course, the idea we use again and again is that you can model your application logic using simple JavaScript classes, and with MobX, enable them as the beating heart of your React applications.

[00:17] We start off covering just a few basic MobX concepts of observable, action, and computed. Armed with this simple knowledge, you take a look at how you can extract the logic out of your component into well-defined state properties and mutations.

[00:39] Next, we cover how you can even use this pattern to encapsulate your complete application logic into a simple application state class. This gives you a cohesive understanding of the data flow of your entire application. Then, we'll look at how you can create reusable state class driven components that work well with application classes for things like user input.

[01:14] Finally, we even demonstrate how easy it is to test this state classes. Because MobX is transparent reactive, all you need to do is test your JavaScript classes using well-known testing patterns and strategies.

[01:35] This state class pattern has scaled well in a large number of data-rich applications that I have developed with my colleagues, and I hope you enjoy using it as much as we do. Thank you.

egghead
egghead
~ just now

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today