|
|
|
|
|
by IceDane
981 days ago
|
|
Redux is great, sure. But it's not a great fit for all applications, or maybe even most. The largest need for state management in most react applications is for so-called "server state", which is really just data from your backend. RQ lets you deal with that elegantly without buying into any other major state management solution like redux. If you are already using redux for other reasons, RTK Query is a no-brainer. But if you aren't, something like RQ is probably a better choice. |
|
Edit: Also, IMO RTK enforce cleaner code/structure than RQ