Advanced
In reply to @czar
Max Jackson@mxjxn
7/6/2023

@tanstack/react-query is the safest. https://tanstack.com/query/latest/docs/react/overview def learn built-ins like context, useReducer etc. but it gets messy once you start introducing useEffects left & right. At my last job, I suggested we drop react-context for this library 👇 and it saved us a TON of headache.

In reply to @mxjxn
Max Jackson@mxjxn
7/6/2023

the other answer is Redux. A little bit of a learning curve and not too much different from using react-context, but its widely used and great functional reactive basis for an app