I agree with you in a few things, and yes SWR and react query are awesome, I love them. The problem is even the data is on the cache, in background the library will do a new API request aways you’ll need to use some data. You are creating a problem for your backend if you remove redux. Imagine that you have a state user.name, that state you get on login. API, and you need to use on main screen, on profile, on posts and so on, how many unnecessary API calls do you gonna do just to show the user name?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I agree with you in a few things, and yes SWR and react query are awesome, I love them. The problem is even the data is on the cache, in background the library will do a new API request aways you’ll need to use some data. You are creating a problem for your backend if you remove redux. Imagine that you have a state user.name, that state you get on login. API, and you need to use on main screen, on profile, on posts and so on, how many unnecessary API calls do you gonna do just to show the user name?