Skip to content
This repository has been archived by the owner on Dec 29, 2018. It is now read-only.

Support for Redux #107

Open
mbchoa opened this issue Jul 21, 2016 · 4 comments
Open

Support for Redux #107

mbchoa opened this issue Jul 21, 2016 · 4 comments

Comments

@mbchoa
Copy link
Member

mbchoa commented Jul 21, 2016

Currently don't support state synchronization in applications using Redux.

Add support in future release

@oakley808
Copy link

Does this mean monocle won't run at all on redux apps, or just won't show state properly?

@mbchoa
Copy link
Member Author

mbchoa commented Aug 5, 2016

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.

@aCandidMind
Copy link

aCandidMind commented Jan 13, 2017

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?

@jsindos
Copy link

jsindos commented Nov 1, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants