#434 How hooks work

We will see how they are written into React

How hooks work

Hooks were introduced in React v16.8.0, and since then they changed the way React apps were written. Before them, we used to create class component for anything involving state or lifecycle logic. Hooks made function component the new defacto of writing react apps.

Save $1 off domains at Porkbun - the best registrar for React developers (sponsor)

Porkbun is the best domain name registrar with low prices on hundreds of different domain extensions like .app, .dev, and .tech. Every domain name at Porkbun comes with freebies like SSL Certificates, WHOIS Privacy, DNS, URL Forwarding, and hosting trials — because why pay for things that should be free? Get $1 off your next domain from Porkbun and see why they’re the domain registrar for you.

Debug a React app with Visual Studio Code

Visual Studio Code has an integrated debugger, easy to use and works pretty much with everything.

Why Choose Next.js

Next.js is growing in popularity. In this article, we'll explore the performance benefits and developer-friendly features that establish Next.js as one of the top choices among React frameworks.

Combining AI with React for a Smarter Frontend

Jesse Hall, senior developer advocate with MongoDB, explained the building blocks for integrating artificial intelligence into React apps.

An Interactive Guide to CSS Grid

CSS Grid is an incredibly powerful tool for building layouts on the web, but like all powerful tools, there's a significant learning curve. In this tutorial, we'll build a mental model for how CSS Grid works and how we can use it effectively.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.