- React Digest
- Posts
- How hooks work
How hooks work
#434 – November 27, 2023
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.
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.
Visual Studio Code has an integrated debugger, easy to use and works pretty much with everything.
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.
Jesse Hall, senior developer advocate with MongoDB, explained the building blocks for integrating artificial intelligence into React apps.
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.