1.overview - sabinmarcu/jsleague-react-hooks GitHub Wiki

React Hooks


Meme


React Components & Lifecycle


React Component Lifecycle

React Component Lifecycle


React Component Mechanics

React Component Mechanics


React Hooks Lifecycle

React Hooks Lifecycle


React Hooks Mechanics

React Hooks Mechanics


Meme


Components

  • Global Lifecycle
  • Uses Methods to handle state changes

Hooks

  • No global Lifecycle
  • Uses the concept of Lifecycle on a per-effect basis
  • Uses pure functions to treat state changes
  • Makes use of determinism to define data flow

Ready?

⚠️ **GitHub.com Fallback** ⚠️