Hooks for Alpine.js
– github.com - submitted by Ryan Chandler
A collection of handy hooks, inspired by React, for Alpine.js.
Read more [github.com]
– github.com - submitted by Ryan Chandler
A collection of handy hooks, inspired by React, for Alpine.js.
Read more [github.com]
According to the React maintainers, React developers reach for the useEffect hook too quickly. It is far from the only hook with many naive usages. Why won't we go through my favorite example of an incorrect usage for useRef?
Read more [flareapp.io]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
Via the excellent bram.us blog I stumbled on this neat colletion of Reacht hooks.
Read more [www.bram.us]
In a new blogpost, my colleague Seb explains why you should and how you can use useEffect.
React recently introduced a new way to deal with side effects: the
useEffecthook. Translating lifecycle methods touseEffectcalls can be confusing at first. It’s confusing because we shouldn’t be translating imperative lifecycle methods to declarative useEffect calls in the first place.
Read more [sebastiandedeyne.com]
React lead Dan Abramov breaks down the statement "function components capture the rendered values". To me hooks seem like a very cool feature that'll make your react components much more easier to write.
Read more [overreacted.io]
Kent C. Dodds wrote a cool post how an upcoming React feature, called Hooks, works on the hood.
React’s upcoming useState hook relies on array destructuring, let’s dive in and see how that feature works.
https://blog.kentcdodds.com/react-hooks-array-destructuring-fundamentals-952fbfd57ea