/tech-talk

Primary LanguageJavaScript

Learn React Demo

Tools

Install & Start First Application

Steps:

  1. clone this repo
  2. npm install
  3. npm run watch-css
  4. npm start
  5. Open http://localhost:3000/ to see your app.

Tutorial prepared on https://github.com/facebook/create-react-app

Exercises

  1. Adding simple HTML structure - (JSX) - (branch master)
  2. Split App.js into separate compoents (Header, Section, Footer) - (Components) - (branch components)
  3. Add to section some props, for example name nad your job experinece and render it at Section component - (props) - (branch props)
  4. Add simple state in Footer. This state should count button click. Change state after button clicking. (events) - (branch state)

Production

npm run build