Open mbchoa opened 8 years ago
Does this mean monocle won't run at all on redux apps, or just won't show state properly?
Monocle specifically looks for setState method calls in the your bundle in order to pull state changes from your app and display them in the Monocle app.
With Redux, all components are essentially stateless functional components so setState method calls would not be necessary.
This poses a problem when displaying feedback from state changes since we rely on this information in order to update our component hierarchy tree when state changes are made.
This feature would make Monocle usable to a lot more people, because a lot of apps are developed with redux. Is it feasible to hook into componentDidUpdate()
similar to how whyDidYouUpdate did it and track that way or something like that?
I want to use monocle to generate a static, stateless version of the tree graph of a Redux project. I was wondering if you had a very rough estimate of the difficulty of adding this feature? I can look at contributing.
Currently don't support state synchronization in applications using Redux.
Add support in future release