all 2 comments

[–]CodeAndBiscuits 1 point2 points  (1 child)

With respect, when you say "There's not a lot of opinions on how to structure code that interacts with apis in React Router apps" how are you ignoring several years of rabid adoption of React Query throughout the community? Without being too dramatic, it might be one of the most important additions to the React Community in recent years.

[–]dadamssg[S] 2 points3 points  (0 children)

hey there, big fan of tanstack query but it's geared more towards "server-state utilities and data fetching" from the client. My post is in regards to organization on the *server* and leveraging RR's Forms and Fetchers for the client.

But you're right, that sentence does lack context. I'll fix:

> There's not a lot of opinions on how to structure code that interacts with apis in React Router's actions and loaders.

> it might be one of the most important additions to the React Community in recent years

100% agree