{"repo":"KevinVandy/react-data-fetching","free":true,"listed":false,"github":"https://github.com/KevinVandy/react-data-fetching","clone":"git clone https://github.com/KevinVandy/react-data-fetching.git","description":"The same app, built multiple times in different React frameworks for apples to apples comparisons.","language":"TypeScript","stars":552,"topics":["astro","csr","nextjs","react","react-query","react-router","react-server-components","remix","rsc","ssg"],"license":null,"category":"docs-static-sites","readme_excerpt":"React Data Fetching This repository demonstrates the four main data-fetching strategies in modern React applications: Client-Side Rendering (CSR), Static Site Generation (SSG), Server-Side Rendering (SSR), and Streaming with React Server Components. Each approach is implemented across multiple frameworks to show real-world patterns and trade-offs. - 0-json-server - backend server for the apps - pnpm serve Table of Contents Client-Side Rendering (CSR/SPAs) - 1-1-vite-react-router-componentdidmount - pnpm dev1-1 http://localhost:3311/ - 1-2-vite-react-router-useeffect - pnpm dev1-2 http://localhost:3312/ - 1-3-vite-react-router-react-query - pnpm dev1-3 http://localhost:3313/ - 1-4-vite-react-router-react-query-hooks - pnpm dev1-4 http://localhost:3314/ - 1-5-vite-react-router-react-query-query-options - pnpm dev1-5 http://localhost:3315/ - 1-6-vite-tanstack-router - pnpm dev1-6 http://localhost:3316/ - 1-7-vite-tanstack-router-loaders - pnpm dev1-7 http://localhost:3317/ - 1-8-vite-tanstack-router-file-based-routing - pnpm dev1-8 http://localhost:3318/ - 1-9-astro-react-spa - pnpm dev1-9 http://localhost:3319/ Static Site Generation (SSG) - 2-1-nextjs-ssg - pnpm dev2-1 http://localhost:3321/ - 2-2-astro-ssg - pnpm dev2-2 http://localhost:3322/ - 2-3-astro-react-ssg - pnpm dev2-3 http://localhost:3323/ Server-Side Rendering (SSR) - 3-1-nextjs-ssr - pnpm dev3-1 http://localhost:3331/ - 3-2-react-router-ssr - pnpm dev3-2 http://localhost:3332/ - 3-3-sveltekit-ssr - pnpm dev3-3 ht","default_branch":null,"files":null,"tree":[],"storefront":"/r/KevinVandy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KevinVandy/react-data-fetching/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}