Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

React

Wifi

itenium-guest: Wifi4Ufree

Run

# Fork https://github.com/itenium-be/React-New-Features on Github

git clone https://github.com/your-user-name/React-New-Features
cd React-New-Features/react-socks
npm install
npm start

Of als je het vergeten bent te forken:

git remote rm origin
git remote add origin https://github.com/your-user-name/React-New-Features

Cheat Sheet

Voor tijdens de oefeningen misschien handig :)
devhints.io/react

Today's Menu

  • Create-React-App v2: TypeScript & SASS support!
  • Quick Tutorial: What is this React thing again?
  • Fragments: Avoid superfluous <div>s in the resulting DOM.
  • Error Boundaries: Recover from render() crashes (not event handlers). NOT for normal flow!
  • Suspense & lazy: Code-Splitting. Data Fetching will arrive later!
  • Memo: Component and PureComponent (no shouldComponentUpdate) + FunctionComponent and Memo.
  • Context: Global variables: Current locale, UI theme, current user, ...
  • Hooks: Use class Component features in FunctionComponents!
    • Extract cross cutting concerns in separate hooks instead of littering Component Lifecycle methods
    • Convention: Hook names start with use. (Linting rule)
    • Limitation: Branching is not allowed before any hook call. (no if () { useHook() })
    • Builtin hooks:

create-react-app

npx create-react-app react-socks --typescript

cd react-socks
npm install react-router-dom --save
npm install node-sass --save

Not Covered

The new profiler.

About

React.js tutorial. Claim an exercise by replying to the issue. Create a PR per Task (per checkbox).

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.