TutorialsMock your API in the client: HTTP, SSE and WebSocket with tanstack-fetch
Build a frontend before the backend is ready. Step by step, mock a REST endpoint, a live SSE price feed, a streaming NDJSON chat and a WebSocket room with the tanstack-fetch mocks option, then turn each mock off as the real API ships.
Read the post


















