All Projects → kentcdodds → react-workshop

kentcdodds / react-workshop

Licence: MIT license
Exercises as part of a React workshop

Labels

Projects that are alternatives of or similar to react-workshop

Advanced React Patterns V2
Created with CodeSandbox
Stars: ✭ 1,495 (+1234.82%)
Mutual labels:  kcd-edu
The Beginner S Guide To Reactjs
The beginner's Guide to ReactJS course material for Egghead.io
Stars: ✭ 185 (+65.18%)
Mutual labels:  kcd-edu
Modern React
workshop about React's hottest new features in 16.7.0
Stars: ✭ 210 (+87.5%)
Mutual labels:  kcd-edu
Modern Javascript
Get up to speed on the latest, most useful JavaScript features to level up your programming
Stars: ✭ 123 (+9.82%)
Mutual labels:  kcd-edu
Dom Testing Library With Anything
Use DOM Testing Library to test any JS framework on TestingJavaScript.com
Stars: ✭ 177 (+58.04%)
Mutual labels:  kcd-edu
React Ava Workshop
🐯 A workshop repository for testing React ⚛ with AVA 🚀 --> slides
Stars: ✭ 192 (+71.43%)
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 (-8.93%)
Mutual labels:  kcd-edu
Asts Workshop
Improved productivity 💯 with the practical 🤓 use of the power 💪 of Abstract Syntax Trees 🌳 to lint ⚠️ and transform 🔀 your code
Stars: ✭ 253 (+125.89%)
Mutual labels:  kcd-edu
Js Mocking Fundamentals
JavaScript Mocking Fundamentals on TestingJavaScript.com
Stars: ✭ 182 (+62.5%)
Mutual labels:  kcd-edu
Learn React
Learn React with a laser focused, guided approach.
Stars: ✭ 204 (+82.14%)
Mutual labels:  kcd-edu
React Hooks And Suspense Egghead Playlist
This is the code for the egghead playlist "React Hooks and Suspense"
Stars: ✭ 128 (+14.29%)
Mutual labels:  kcd-edu
Bookshelf
Build a ReactJS App workshop
Stars: ✭ 2,179 (+1845.54%)
Mutual labels:  kcd-edu
React Jest Workshop
Stars: ✭ 193 (+72.32%)
Mutual labels:  kcd-edu
Advanced React Patterns
This is the latest advanced react patterns workshop
Stars: ✭ 1,899 (+1595.54%)
Mutual labels:  kcd-edu
Express App Example
How I structure Express Apps (example repo)
Stars: ✭ 222 (+98.21%)
Mutual labels:  kcd-edu
React Hooks
Learn React Hooks! 🎣 ⚛
Stars: ✭ 1,988 (+1675%)
Mutual labels:  kcd-edu
React Fundamentals
Material for my React Fundamentals Workshop
Stars: ✭ 3,247 (+2799.11%)
Mutual labels:  kcd-edu
react-hooks-pitfalls
The slides and code examples for my talk "React Hook Pitfalls"
Stars: ✭ 94 (-16.07%)
Mutual labels:  kcd-edu
How Jest Mocking Works
Stars: ✭ 231 (+106.25%)
Mutual labels:  kcd-edu
React Github Profile
Stars: ✭ 198 (+76.79%)
Mutual labels:  kcd-edu

React Workshop

Build Status MIT License All Contributors PRs Welcome

Donate Code of Conduct Watch on GitHub Star on GitHub Tweet

Sponsor

Thank you!

Note

This repository has been used to teach React several times and has been updated a few times as well. If you're following along from this recording, then you can get to the right spot by running git checkout aca94d7 before running the setup script.

Setup

You need to have the latest node, npm, and git installed. Then run:

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

All set up!

If you didn't get any errors running the setup scripts, you're ready to start the workshop! 🎉 🎊

If you want to explore a bit, there are a few things you can do:

  1. go ahead and open intro/exercises-final/01-js.html in a browser (don't peak at the solution!). It should say Hello World. Go ahead and open the others if you like.
  2. Then you can run yarn run storybook and open http://localhost:9009 and poke around the storybook for our exercises :)
  3. Then you could run the app with yarn start. This should pop open a window with a stopwatch which we'll be building.

Any errors?

If you see any errors, read the output and try to follow any instructions. If that doesn't work, feel free to file an issue to ask for help and I'll help if I can. Good luck!

Outline

Intro

  1. Bare-bones React rendering - intro/exercises/01-js.html
  2. React rendering with JSX - intro/exercises/02-jsx.html
  3. Custom React Components - intro/exercises/03-components.html
  4. Re-rendering - intro/exercises/04-re-rendering.html

Concepts

  1. Props - src/exercises/01-props.js
  2. PropTypes - src/exercises/02-prop-types.js
  3. Styling - src/exercises/03-styling.js
  4. Composition - src/exercises/04-composition.js
  5. Component API - src/exercises/05-component-api.js
  6. State - src/exercises/06-state.js
  7. Uncontrolled Form - src/exercises/07-uncontrolled-form.js
  8. Controlled Form - src/exercises/08-controlled-form.js
  9. Data Fetching - src/exercises/09-data-fetching.js
  10. Higher Order Components - src/exercises/10-hoc.js
  11. Render Callback - src/exercises/11-render-props.js

Testing

Check out react-jest-workshop

Architecture/Applications

Check out react-github-profile

Contributors

Thanks goes to these people (emoji key):

Matt Zabriskie
Matt Zabriskie

💻
Kent C. Dodds
Kent C. Dodds

💻 🚇 👀 ⚠️
Jordan Nielson
Jordan Nielson

💻
Siddharth Kshetrapal
Siddharth Kshetrapal

🚇
Ray Gesualdo
Ray Gesualdo

💻
Igor Konovalov
Igor Konovalov

💻
Karl Horky
Karl Horky

📖

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

LICENSE

MIT

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].