All Projects → kentcdodds → Modern React

kentcdodds / Modern React

workshop about React's hottest new features in 16.7.0

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Modern React

Advanced React Hooks
Learn Advanced React Hooks workshop
Stars: ✭ 1,208 (+475.24%)
Mutual labels:  kcd-edu
React Hooks And Suspense Egghead Playlist
This is the code for the egghead playlist "React Hooks and Suspense"
Stars: ✭ 128 (-39.05%)
Mutual labels:  kcd-edu
React Fundamentals
Material for my React Fundamentals Workshop
Stars: ✭ 3,247 (+1446.19%)
Mutual labels:  kcd-edu
Simply React
Stars: ✭ 101 (-51.9%)
Mutual labels:  kcd-edu
Advanced React Patterns
This is the latest advanced react patterns workshop
Stars: ✭ 1,899 (+804.29%)
Mutual labels:  kcd-edu
Bookshelf
Build a ReactJS App workshop
Stars: ✭ 2,179 (+937.62%)
Mutual labels:  kcd-edu
Advanced React Patterns V1
The course material for my advanced react patterns course on Egghead.io
Stars: ✭ 1,106 (+426.67%)
Mutual labels:  kcd-edu
React Github Profile
Stars: ✭ 198 (-5.71%)
Mutual labels:  kcd-edu
Modern Javascript
Get up to speed on the latest, most useful JavaScript features to level up your programming
Stars: ✭ 123 (-41.43%)
Mutual labels:  kcd-edu
The Beginner S Guide To Reactjs
The beginner's Guide to ReactJS course material for Egghead.io
Stars: ✭ 185 (-11.9%)
Mutual labels:  kcd-edu
App Dev Tools
An example of how to create and hook up App DevTools to improve your development productivity of your application
Stars: ✭ 102 (-51.43%)
Mutual labels:  kcd-edu
Advanced React Patterns V2
Created with CodeSandbox
Stars: ✭ 1,495 (+611.9%)
Mutual labels:  kcd-edu
Dom Testing Library With Anything
Use DOM Testing Library to test any JS framework on TestingJavaScript.com
Stars: ✭ 177 (-15.71%)
Mutual labels:  kcd-edu
Testing Workshop
A workshop for learning how to test JavaScript applications
Stars: ✭ 1,276 (+507.62%)
Mutual labels:  kcd-edu
React Ava Workshop
🐯 A workshop repository for testing React ⚛ with AVA 🚀 --> slides
Stars: ✭ 192 (-8.57%)
Mutual labels:  kcd-edu
10 Practical Js Features
Stars: ✭ 68 (-67.62%)
Mutual labels:  kcd-edu
Static Testing Tools
Static Analysis Testing JavaScript Applications on TestingJavaScript.com
Stars: ✭ 141 (-32.86%)
Mutual labels:  kcd-edu
Learn React
Learn React with a laser focused, guided approach.
Stars: ✭ 204 (-2.86%)
Mutual labels:  kcd-edu
React Jest Workshop
Stars: ✭ 193 (-8.1%)
Mutual labels:  kcd-edu
Js Mocking Fundamentals
JavaScript Mocking Fundamentals on TestingJavaScript.com
Stars: ✭ 182 (-13.33%)
Mutual labels:  kcd-edu

DEPRECATED

Instead of this repo, you want:

🚀 EpicReact.Dev

Confidently Ship Well-Architected Production Ready React Apps Like a Pro Learn React from Start to Finish

Seriously, get EpicReact.Dev instead. It's better.

You can find all the EpicReact.Dev material on GitHub: https://github.com/topics/epicreact-dev

Original README content:

Modern React

👋 hi there! My name is Kent C. Dodds! This is a workshop repo to teach you about using all the goodies we got from React 16.7.0!

chat-badge Build Status AppVeyor Build Status Code Coverage MIT License All Contributors

PRs Welcome Code of Conduct Watch on GitHub Star on GitHub Tweet

System Requirements

  • git v2.14.1 or greater
  • NodeJS v8.9.4 or greater
  • npm v5.6.0 or greater

All of these must be available in your PATH. To verify things are set up properly, you can run this:

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 or mac/linux.

Setup

You may be able to work through the entire workshop in the browser. Go to this codesandbox and you should be good to go.

If you'd rather be able to work through the workshop on your own computer, then follow the following instructions.

After you've made sure to have the correct things (and versions) installed, you should be able to just run a few commands to get set up:

git clone https://github.com/kentcdodds/modern-react.git
cd modern-react
npm run setup --silent

This may take a few minutes. It will ask you for your email. This is optional and just automatically adds your email to the links in the project to make filling out some forms easier If you get any errors, please read through them and see if you can find out what the problem is. You may also want to look at Troubleshooting. If you can't work it out on your own then please file an issue and provide all the output from the commands you ran (even if it's a lot).

Running the app

To get the app up and running (and really see if it worked), run:

npm start

This should start up your browser. If you're familiar, this is a standard react-scripts application.

You can also open the deployment of the app on Netlify.

Running the tests

npm test

This will start Jest in watch mode. Read the output and play around with it.

Your goal will be to go into each test, swap the final version for the exercise version in the import, and make the tests pass

Helpful Emoji 🐨 💰 💯

Each exercise has comments in it to help you get through the exercise. Kody the Koala Bear and Marty the Money Bag are here to help you. Kody 🐨 will tell you when there's something specific you should do, and Marty 💰 will give you specific tips along the way. Should you finish early, Hannah the Hundred Points Symbol 💯 will give you some additional challenges that you can try!

Troubleshooting

"npm run setup" command not working

Here's what the setup script does. If it fails, try doing each of these things individually yourself:

# verify your environment will work with the project
node ./scripts/verify

# install dependencies
npm install

# verify the project is ready to run
npm run build
npm run test:coverage

If any of those scripts fail, please try to work out what went wrong by the error message you get. If you still can't work it out, feel free to open an issue with all the output from that script. I will try to help if I can.

Contributors

Thanks goes to these wonderful people (emoji key):


Kent C. Dodds

💻 📖 🚇 ⚠️

Andrew Clark

💬 🤔 👀

Sophie Alpert

💬 🤔 👀

This project follows the all-contributors specification. Contributions of any kind welcome!

License

This material is available for private, non-commercial use under the GPL version 3. If you would like to use this material to conduct your own workshop, please contact me at [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].