TanStackT
TanStack2y ago
7 replies
moderate-tomato

How to hide network request?

I've a react application with react-router.
I'm sending some network requests and I'm trying to hide the request for the client and only expose the returned data, but how should I do that? I've tried to go through this example https://github.com/TanStack/router/tree/main/examples/react/basic-ssr-file-based but the request is still exposed to the client.
GitHub
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
router/examples/react/basic-ssr-file-based at main · TanStack/router
Was this page helpful?