DEV Community

Discussion on: The Art of State Management in React.

Collapse
 
lishine profile image
Pavel Ravits

I did try to use the same context lib. I would like build form lib with this. But for app state management I will go back to easy-peasy, it works really well. Mainly because I want all actions in one redux Dev tools column. There is the reinspect.

Collapse
 
vorillaz profile image
vorillaz

I had created some forms with this approach using a form field factory. Basically each field is aware of a slice of the state. You can even follow a conventional approach for error handling. Context can get used with Redux dev tools as well with a bit of tweaking. Since there are no reducers in place you need to add a faux reducer and monitor changes in the state. I have a working example which I am more than happy to share :)

Collapse
 
lishine profile image
Pavel Ravits

Yes, I am very much interested. I have yet to dig into how to connect redux Dev tools to stuff

Thread Thread
 
vorillaz profile image
vorillaz

I’ll come up with a new article and ping you in the upcoming days :)

Thread Thread
 
lishine profile image
Pavel Ravits

Great!