{"id":18470989,"url":"https://github.com/moonhighway/react-data","last_synced_at":"2025-06-24T13:04:46.556Z","repository":{"id":181676022,"uuid":"667130397","full_name":"MoonHighway/react-data","owner":"MoonHighway","description":"A React workshop at SeattleJS - August 7, 2023","archived":false,"fork":false,"pushed_at":"2023-11-11T19:44:09.000Z","size":17764,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-16T18:44:20.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://moonhighway.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoonHighway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-16T18:29:41.000Z","updated_at":"2023-08-07T16:15:41.000Z","dependencies_parsed_at":"2023-11-11T20:39:31.275Z","dependency_job_id":null,"html_url":"https://github.com/MoonHighway/react-data","commit_stats":null,"previous_names":["moonhighway/react-data"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Freact-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Freact-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Freact-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Freact-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoonHighway","download_url":"https://codeload.github.com/MoonHighway/react-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253748631,"owners_count":21957958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T10:15:30.183Z","updated_at":"2025-05-12T13:35:04.157Z","avatar_url":"https://github.com/MoonHighway.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Managing Data in a React Application\n\nThanks so much for being part of this workshop. I'm really glad that you're here. Below you'll find links for each section of the class.\n\n## Agenda\n\n1. [React Data Fetching](https://github.com/MoonHighway/react-data/blob/main/README.md#react-data-fetching)\n2. [GraphQL Clients](https://github.com/MoonHighway/react-data#graphql-clients)\n3. [@defer \u0026 @stream](https://github.com/MoonHighway/react-data#defer--stream)\n4. [Server Components Intro](https://github.com/MoonHighway/react-data#server-components-intro)\n5. [Next.js App Router](https://github.com/MoonHighway/react-data#nextjs-app-router)\n6. [Data Fetching with Next.js](https://github.com/MoonHighway/react-data#data-fetching-with-nextjs)\n7. [Server Components-ifying Libraries](https://github.com/MoonHighway/react-data#server-components-ifying-libraries)\n\n## Instructor Info\n\n- **Eve Porcello**: [Twitter](https://twitter.com/eveporcello) | [Email](mailto:eve@moonhighway.com)\n- **Moon Highway Training**: [Moon Highway Website](https://www.moonhighway.com) | [Mailing List](http://bit.ly/moonhighway) | [Articles](https://www.moonhighway.com/articles)\n\n## 1. React Data Fetching\n\n- [Slides](https://slides.com/moonhighway/react-data/)\n- [useEffect](https://codesandbox.io/s/use-effect-demo-3z93wk?file=/src/App.js)\n- [useEffect States](https://codesandbox.io/s/data-states-9hwg4?file=/src/App.js)\n- [Fetch on render](https://codesandbox.io/s/fetch-on-render-46pk6w?file=/src/App.js)\n- [Fetch then render](https://codesandbox.io/s/fetch-then-render-s74kmn?file=/src/App.js)\n- [Suspense - Render as you fetch](https://codesandbox.io/s/suspense-httkvr?file=/src/App.js)\n\n## 2. GraphQL Clients\n\n- [Exercise Start](https://github.com/MoonHighway/react-data/tree/main/02-graphql-clients/start)\n- [Exercise Complete](https://github.com/MoonHighway/react-data/tree/main/02-graphql-clients/complete)\n- [Apollo Client Docs](https://www.apollographql.com/docs/react)\n- [Table JSX](https://gist.github.com/eveporcello/fa683859b9dc1934a0543677dbceac10)\n\n## 3. @defer \u0026 @stream\n\n- [Slides](https://slides.com/moonhighway/defer-stream/)\n- [@defer and @stream Docs](https://www.apollographql.com/docs/react/data/defer/)\n- [Demo](https://studio.apollographql.com/public/hack-the-e-commerce/variant/main/explorer?_gl=1%2A1lqqa8n%2A_ga%2AMTY3Nzk4MDgyNy4xNjkwNDkxMDQ0%2A_ga_0BGG5V2W2K%2AMTY5MTM4NjQ1OS41LjEuMTY5MTM4NjgzNy4wLjAuMA..)\n\n## 4. Server Components Intro\n\n- [Slides](https://slides.com/moonhighway/rsc/)\n- [RSC from Scratch](https://github.com/reactwg/server-components/discussions/5)\n- [Server Components with Next Documentation](https://nextjs.org/docs/getting-started/react-essentials)\n- [Patterns.dev Article](https://www.patterns.dev/posts/react-server-components)\n- [Demystifying Server Components Tutorial](https://demystifying-rsc.vercel.app/)\n\n## 5. Next.js App Router\n\n- [Snowtooth UI - Project Start](https://github.com/MoonHighway/react-data/tree/main/05-next-app-router/snowtooth-ui)\n\n```\nnpm install @supabase/auth-helpers-nextjs @supabase/supabase-js\n```\n\nAt the root of the project -- `.env.local`\n\n## 6. Data Fetching with Next.js\n\n- [Snowtooth UI - Project Complete](https://github.com/MoonHighway/react-data/tree/main/06-next-data-fetching/snowtooth-ui)\n- [Data Fetching Patterns](https://nextjs.org/docs/app/building-your-application/data-fetching/patterns)\n- [Caching Docs](https://nextjs.org/docs/app/building-your-application/caching)\n\n## 7. Server Components-ifying Libraries\n\n- [Rendering Third Party Context Providers](https://vercel.com/guides/react-context-state-management-nextjs)\n- [Apollo Case Study](https://www.apollographql.com/blog/apollo-client/next-js/how-to-use-apollo-client-with-next-js-13/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonhighway%2Freact-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonhighway%2Freact-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonhighway%2Freact-data/lists"}