|
| 1 | +<div> |
| 2 | + <h1 align="center"><a href="https://www.epicweb.dev/workshops">React Router RSC 💫</a></h1> |
| 3 | + <strong> |
| 4 | + React Router's take on React Server Components |
| 5 | + </strong> |
| 6 | + <p> |
| 7 | + React Server Components have changed how we think about building React applications. In this lightning talk, Kent will explore how React Router is embracing RSC and what this means for the future of routing in React applications. This talk will dive into how RSC has simplified React Router's architecture and enables powerful new patterns for data loading, streaming, and code splitting. |
| 8 | + |
| 9 | + We'll see how React Router has evolved to work seamlessly with React Server Components, making it easier than ever to build full-stack React applications with excellent performance and developer experience. |
| 10 | + </p> |
| 11 | +</div> |
| 12 | + |
| 13 | +<hr /> |
| 14 | + |
| 15 | +<div align="center"> |
| 16 | + <a |
| 17 | + alt="Epic Web logo with the words Deployed Version" |
| 18 | + href="https://epicweb-dev-react-router-rsc.fly.dev/" |
| 19 | + > |
| 20 | + <img |
| 21 | + width="300px" |
| 22 | + src="https://github-production-user-asset-6210df.s3.amazonaws.com/1500684/254000390-447a3559-e7b9-4918-947a-1b326d239771.png" |
| 23 | + /> |
| 24 | + </a> |
| 25 | +</div> |
| 26 | + |
| 27 | +<hr /> |
| 28 | + |
| 29 | +<!-- prettier-ignore-start --> |
| 30 | +[![Build Status][build-badge]][build] |
| 31 | +[![GPL 3.0 License][license-badge]][license] |
| 32 | +[![Code of Conduct][coc-badge]][coc] |
| 33 | +<!-- prettier-ignore-end --> |
| 34 | + |
| 35 | +## Prerequisites |
| 36 | + |
| 37 | +- Understand the basics of React Server Components |
| 38 | + |
| 39 | +## Pre-workshop Resources |
| 40 | + |
| 41 | +Here are some resources you can read before taking the workshop to get you up to |
| 42 | +speed on some of the tools and concepts we'll be covering: |
| 43 | + |
| 44 | +- [React Server Components docs](https://react.dev/reference/rsc/server-components) |
| 45 | +- [Epic React Workshop on React Server Components](https://www.epicreact.dev/workshops/react-server-components) |
| 46 | + |
| 47 | +## System Requirements |
| 48 | + |
| 49 | +- [git][git] v2.18 or greater |
| 50 | +- [NodeJS][node] v18 or greater |
| 51 | +- [npm][npm] v8 or greater |
| 52 | + |
| 53 | +All of these must be available in your `PATH`. To verify things are set up |
| 54 | +properly, you can run this: |
| 55 | + |
| 56 | +```shell |
| 57 | +git --version |
| 58 | +node --version |
| 59 | +npm --version |
| 60 | +``` |
| 61 | + |
| 62 | +If you have trouble with any of these, learn more about the PATH environment |
| 63 | +variable and how to fix it here for [windows][win-path] or |
| 64 | +[mac/linux][mac-path]. |
| 65 | + |
| 66 | +## Setup |
| 67 | + |
| 68 | +This is a pretty large project (it's actually many apps in one) so it can take |
| 69 | +several minutes to get everything set up the first time. Please have a strong |
| 70 | +network connection before running the setup and grab a snack. |
| 71 | + |
| 72 | +> **Warning**: This repo is _very_ large. Make sure you have a good internet |
| 73 | +> connection before you start the setup process. The instructions below use |
| 74 | +> `--depth` to limit the amount you download, but if you have a slow connection, |
| 75 | +> or you pay for bandwidth, you may want to find a place with a better |
| 76 | +> connection. |
| 77 | +
|
| 78 | +Follow these steps to get this set up: |
| 79 | + |
| 80 | +```sh nonumber |
| 81 | +git clone --depth 1 https://github.com/epicweb-dev/react-router-rsc.git |
| 82 | +cd react-router-rsc |
| 83 | +npm run setup |
| 84 | +``` |
| 85 | + |
| 86 | +If you experience errors here, please open [an issue][issue] with as many |
| 87 | +details as you can offer. |
| 88 | + |
| 89 | +## The Workshop App |
| 90 | + |
| 91 | +Learn all about the workshop app on the |
| 92 | +[Epic Web Getting Started Guide](https://www.epicweb.dev/get-started). |
| 93 | + |
| 94 | +[](https://www.epicweb.dev/get-started) |
| 95 | + |
| 96 | +<!-- prettier-ignore-start --> |
| 97 | +[npm]: https://www.npmjs.com/ |
| 98 | +[node]: https://nodejs.org |
| 99 | +[git]: https://git-scm.com/ |
| 100 | +[build-badge]: https://img.shields.io/github/actions/workflow/status/epicweb-dev/react-router-rsc/validate.yml?branch=main&logo=github&style=flat-square |
| 101 | +[build]: https://github.com/epicweb-dev/react-router-rsc/actions?query=workflow%3Avalidate |
| 102 | +[license-badge]: https://img.shields.io/badge/license-GPL%203.0%20License-blue.svg?style=flat-square |
| 103 | +[license]: https://github.com/epicweb-dev/react-router-rsc/blob/main/LICENSE |
| 104 | +[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square |
| 105 | +[coc]: https://kentcdodds.com/conduct |
| 106 | +[win-path]: https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/ |
| 107 | +[mac-path]: http://stackoverflow.com/a/24322978/971592 |
| 108 | +[issue]: https://github.com/epicweb-dev/react-router-rsc/issues/new |
| 109 | +<!-- prettier-ignore-end --> |
0 commit comments