I'm not going to lie, some of Amelia's breakdown of why hooks > class components went over my head, but the reasoning is solid (plus, preaching to the converted 😉). Even better, though, is that she shares a number of open-source hooks you can use, including ones for synchronising URL hashes and setting/updating cookies. Useful.
- Source
- Link to Original 🔗
- Published
- Categories
- JavaScript
- Tags
- React hook,React,component,class,function,example,guide,URL,hash,cookies
Explore Other Notes
⬅ Newer
Marxian alienation and web development
Some interesting thoughts from Heydon on burnout, why it's a positive thing that we're talking about it more, and what a major root cause is for many […]
Older ➡
It's plant, it's animal, it's bitroph
The idea of an animal that can derive all or some of its energy needs from the sun is one that sci-fi authors have often touched on. Gert has proposed the nomenclature "bitroph" for such a creature, […]
- I'm not going to lie, some of Amelia's breakdown of why hooks > class components went over my head, but the reasoning is solid (plus, preaching to the converted 😉). Even better, though, is […]
- Murray Adcock