Hello! Our team is in the early stage of the web app development and we adopted react/redux. We tried SWR on one page and it works great, much simpler that redux for API calls. Can you please share the experience, does ZEIT use Redux, or useSWR covers all cases?
@timurmaio Have you considered useReducer() as a simpler substitute for Redux? Commentary here: https://www.robinwieruch.de/redux-vs-usereducer
We're using it and finding it to have less boilerplate than "old" Redux (pre-hooks), but I haven't compared it to "new" Redux using all of its new hooks.
Mentioning @rauchg @pacocoursey @quietshu who could answer this better (btw would be great to have discussions enabled in this repo too 馃槈馃槈).
No, we don't use redux or any state management libraries like redux at ZEIT. So far we've found SWR to be a reliable and much simpler alternative to remote data management across our dashboard.
We do use useReducer to minimize re-renders and manage complex state, though!
Most helpful comment
No, we don't use redux or any state management libraries like redux at ZEIT. So far we've found SWR to be a reliable and much simpler alternative to remote data management across our dashboard.
We do use
useReducerto minimize re-renders and manage complex state, though!