alejandroA
Convex Community6mo ago
1 reply
alejandro

Do I need preloading in react-router "data" mode?

Even though convex says that preloading in only for next.js rsc, I am able to use it inside the loader (react-router "data" mode), and I am able to correctly read the data using useLoaderData() and usePreloadedQuery(). Now the question is, does this makes sense? Will it make my page load time faster? Or can I just use useQuery() and forget about preloading?
Was this page helpful?