Skip to content

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

Notifications You must be signed in to change notification settings

itenium-be/React-New-Features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published