DEV Community

Discussion on: Revisiting Redux with Context and Hooks

Collapse
 
nielsdom profile image
Niels

Thanks for the article. It seems really a pain to implement redux... You have any repo with best practices architecture redux/hooks to recommend ? a simple one if possible, thanks :)

Collapse
 
visarts profile image
Brendan B

I don't have a public one, yet! But I'll post something here when I get to working on a big refactor of a public project I have. I've learned a few things since I wrote this and think there are some cleaner ways to do stuff, especially around actions. I do agree that redux is a lot of implementation detail, and while this article cuts down on some of that it's still a lot of boilerplate that I'd like to reduce, without putting a lot of work on the consuming component.

Collapse
 
nielsdom profile image
Niels • Edited

Thanks, looking forward for a repo :D

By the way, I tried this redux dev tools package to trace hooks activity, really cool: github.com/troch/reinspect

Thread Thread
 
trickydisco78 profile image
trickydisco78

i couldn't seem to get this to work. Where did you add it? I tried around the main app or storecontext but it didn't show that it updated state in the devtools