react-async-states
react-async-states copied to clipboard
Devtools optimizations
Creation path
- Separate all creation paths of async state and display it in devtools: createSource, a hook, provider, intermediate (props.runp)
Lanes
-
lanes
should be attached to the parent, and so grouped. The grouping must be just one level deep. deeper lanes will get flattened.
Producer effects
-
props.run
andprops.runp
may create an async state. This async state should not be visible in the devtools in the left side bar. May be it should be visible somehow related to the "run" journal event
Subscriptions
-
useAsyncState
,useSource
anduseProducer
must all define a unique reusable subscription key (better if it has something related to component)
don't forget #53
Done in #103 and #104