-
Store defination steps ->
- types.model = the shape of the living state tree
- actions on the model
- Define views (computed properties) on the model
- Create an instance of the Store model with initial property vals, using (.create)
-
Perform aync functions with some model type => async/await -> flow/ yield
-
Below written code is the way to handle async actions using mst with help of generators
-
someAction: flow(function*() { // value is typed as number const value = yield* toGenerator(getDataAsync("input value")); ... }) ```
-
Notifications
You must be signed in to change notification settings - Fork 0
wubba-lubba-dub-dub!
ebe25/RickAndMortyMobxGallery
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
wubba-lubba-dub-dub!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published