Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epicweb-dev/react-suspense
React Suspense workshop
https://github.com/epicweb-dev/react-suspense
concurrent epicreact-dev epicweb-dev kcd-edu react suspense workshop
Last synced: about 11 hours ago
JSON representation
React Suspense workshop
- Host: GitHub
- URL: https://github.com/epicweb-dev/react-suspense
- Owner: epicweb-dev
- License: other
- Created: 2019-10-30T23:35:10.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-05T20:41:14.000Z (17 days ago)
- Last Synced: 2024-12-14T21:00:09.672Z (7 days ago)
- Topics: concurrent, epicreact-dev, epicweb-dev, kcd-edu, react, suspense, workshop
- Language: TypeScript
- Homepage: https://suspense.epicreact.dev
- Size: 19.7 MB
- Stars: 826
- Watchers: 19
- Forks: 370
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
🔀 React Suspense
Simplify your Async UI and improve your User Experience
Learn how Suspense works under the hood, preparing you for the future of asynchronous state management.
[![Build Status][build-badge]][build]
[![GPL 3.0 License][license-badge]][license]
[![Code of Conduct][coc-badge]][coc]## Prerequisites
- Install the React DevTools
([Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
(recommended),
[Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/))
- Experience with React and most hooks## Pre-workshop Resources
Here are some resources you can read before taking the workshop to get you up to
speed on some of the tools and concepts we'll be covering:- Dan Abramov's talk
[Beyond React 16 | JSConf Iceland 2018](https://www.youtube.com/watch?v=nLF0n9SACd4)
(33 minutes)## System Requirements
- [git][git] v2.18 or greater
- [NodeJS][node] v20 or greater
- [npm][npm] v8 or greaterAll of these must be available in your `PATH`. To verify things are set up
properly, you can run this:```shell
git --version
node --version
npm --version
```If you have trouble with any of these, learn more about the PATH environment
variable and how to fix it here for [windows][win-path] or
[mac/linux][mac-path].## Setup
This is a pretty large project (it's actually many apps in one) so it can take
several minutes to get everything set up the first time. Please have a strong
network connection before running the setup and grab a snack.Follow these steps to get this set up:
```sh nonumber
git clone --depth 1 https://github.com/epicweb-dev/react-suspense.git
cd react-suspense
npm run setup
```If you experience errors here, please open [an issue][issue] with as many
details as you can offer.## Starting the app
Once you have the setup finished, you can start the app with:
```
npm start
```## The Workshop App
Learn all about the workshop app on the
[Epic Web Getting Started Guide](https://www.epicweb.dev/get-started).[![Kent with the workshop app in the background](https://github-production-user-asset-6210df.s3.amazonaws.com/1500684/280407082-0e012138-e01d-45d5-abf2-86ffe5d03c69.png)](https://www.epicweb.dev/get-started)
[npm]: https://www.npmjs.com/
[node]: https://nodejs.org
[git]: https://git-scm.com/
[build-badge]: https://img.shields.io/github/actions/workflow/status/epicweb-dev/react-suspense/validate.yml?branch=main&logo=github&style=flat-square
[build]: https://github.com/epicweb-dev/react-suspense/actions?query=workflow%3Avalidate
[license-badge]: https://img.shields.io/badge/license-GPL%203.0%20License-blue.svg?style=flat-square
[license]: https://github.com/epicweb-dev/react-suspense/blob/main/LICENSE.md
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://kentcdodds.com/conduct
[win-path]: https://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/
[mac-path]: http://stackoverflow.com/a/24322978/971592
[issue]: https://github.com/epicweb-dev/react-suspense/issues/new