Post

Given redux pre-dates functional components and hooks, this seems a bit backwards. I think most apps don’t need redux or similar. Tanstack Query and some contexts for specific bits of shared local state is often enough. Sometimes you want redux or one of the newer alternatives.

Personally I really don’t like the RTK API - I find it not very readable. Plain redux is heavy on boilerplate, so I’d generally choose something other than redux in a new project. I don’t hate it enough to rip it out of existing projects though.

Thank you Mark. As I'm still learning react I was thinking about that. Personally I like ContextAPI more. Redux is so messy

0 reposts1 like

No replies yet.