Code Monkey home page Code Monkey logo

react-workshop's Introduction

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/siirila/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. State - src/exercises/05-state.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

๐Ÿ’ป

Kent C. Dodds

๐Ÿ’ป ๐Ÿš‡ ๐Ÿ‘€ โš ๏ธ

Jordan Nielson

๐Ÿ’ป

Siddharth Kshetrapal

๐Ÿš‡

Ray Gesualdo

๐Ÿ’ป

Igor Konovalov

๐Ÿ’ป

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

LICENSE

MIT

react-workshop's People

Contributors

siirila avatar igorkonovalov avatar bdougie avatar jnielson94 avatar raygesualdo avatar siddharthkp avatar sudarshang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.