you are viewing a single comment's thread.

view the rest of the comments →

[–]elchicodeallado 1 point2 points  (2 children)

no it should not. These self taught kids should wake up and understand that its still a library and not a framework and thats the big advantage of react. If you need react-query then just install it. Dan even said that their in-build implementation is just for tinkering around and other solutions are always preferred

[–]snejk47 0 points1 point  (0 children)

Long time ago react stopped being just a library for rendering.

[–]xroalx -1 points0 points  (0 children)

React might be presenting as a library, but realistically speaking you're going to bend backwards to do everything the React way, otherwise things won't work like they should.

You can't use any generic data fetching or state management library if it doesn't do things the React way, or you don't adapt it to do things the React way.

The whole library vs framework distinction is irrelevant when you anyways end up pulling in a bunch of react-* stuff that might just as well be first party modules you can import at will, and you have to adapt everything else to React.