React Hooks Introduction: useState and useEffect

React 16.8 shipped with Hooks, and they’ve changed how I write React components. No more class components for simple state management. Here’s my introduction to the two most important hooks. The Problem with Classes Class components work, but they’re verbose. You need constructors, binding methods, lifecycle methods spread across the component. Hooks let you use […]

Read more →