react-async-states icon indicating copy to clipboard operation
react-async-states copied to clipboard

Devtools optimizations

Open incepter opened this issue 2 years ago • 1 comments

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 and props.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 and useProducer must all define a unique reusable subscription key (better if it has something related to component)

incepter avatar Aug 28 '22 14:08 incepter

don't forget #53

incepter avatar Nov 06 '22 12:11 incepter

Done in #103 and #104

incepter avatar Nov 28 '22 14:11 incepter