3 ms·
IMHO, since react hooks hit the market, state management libraries became kind of obsolete.
by garritfra 5y ago
IMHO, since react hooks hit the market, state management libraries became kind of obsolete.
- jeremy_k 5y agoWe tried this approach and have attempted to bend React Context to our need, but it feels like its gotten pretty hacky. Are you only using component state and Context or what is your approach?
- steve_adams_86 5y agoNot who you asked, but: We use useContextSelector to ease context rendering redundantly and to make it clearer what a component uses within a context. It isn’t native to react, but it appears it will be in a similar form in the future. It has been a joy to use so far. Having server side state working so seamlessly with the client is a great feature for us.