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
lanesshould be attached to the parent, and so grouped. The grouping must be just one level deep. deeper lanes will get flattened.
Producer effects
props.runandprops.runpmay 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,useSourceanduseProducermust all define a unique reusable subscription key (better if it has something related to component)
don't forget #53
Done in #103 and #104