Giter Club home page Giter Club logo

react-day-two's Introduction

#Day Two of React For DevMountain ##Things to cover

  • Webpack
  • Basic React Review
  • Component Life-Cycle
  • Asynchronous Data
  • Small JS Context Review
  • Default Props
  • Prop Types

###Webpack

  • Dependencies
    • --save vs --save-dev
    • File Tree
    • import vs module.exports
  • Loaders
    • JSX
    • es6
      • Babel and Babel Config
    • CSS
    • Basically anything you could ever need
  • Config
    • Entry
    • Ouput
    • Loaders

###Basic React Review

  • Render Method
    • JSX
    • Curly Braces for JS
  • State
    • getInitalState
    • setState
  • Event Handlers
    • onClick
    • onKeyUp
    • onWhateverElseYouNeed
  • Props
    • <Component prop={value} />
    • this.props

###Component Life-Cycle

  • Mounting
    • componentWillMount
    • componentDidMount
  • Updating
    • componentWillReceiveProps
  • Unmounting
    • componentWillUnmount

###Small JS Context Review

  • Function.prototype.bind
    • Context
    • Currying

###Asynchronous Data

  • jQuery?
  • Other (better) options
  • Axios
    • $http vs Axios
  • Where?
  • When?
  • From promise/callback to state

###Default Props

  • Easy to implement
  • Why to implement

###Prop Types

  • Types
    • Javascript Types
    • Advanced typing
      • shape
      • arrayOf
  • How
  • Why

###Mixins

###Mini Project

  • Try not to get lost in the steps
  • Continually think of what you're trying to build over what you think the step wants
  • You're learning how JavaScript works more than React-specific syntax

react-day-two's People

Contributors

dckesler avatar

Watchers

James Cloos avatar Candice 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.