4 ms·
React-query does have a state management, like redux. You can use RTK "the same way" than react-query, and it comes with more if needed, that's why I don't see
by audessuscest 3y ago
React-query does have a state management, like redux. You can use RTK "the same way" than react-query, and it comes with more if needed, that's why I don't see real reason to prefer RQ over it
Edit: Also, IMO RTK enforce cleaner code/structure than RQ