React Hooks for Beginners: Managing State
– tighten.com - submitted by Jamison Valenta – Edit
What's all the fuss about React hooks? In our latest blog post, we share the basics of managing state with hooks in a React app.
Read more [tighten.com]
Posts tagged with javascript
– tighten.com - submitted by Jamison Valenta – Edit
What's all the fuss about React hooks? In our latest blog post, we share the basics of managing state with hooks in a React app.
Read more [tighten.com]
- submitted by Tony Messias – Edit
Tony Messias has ported a cool feature from Rails to Laravel.
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.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
– aaronfrancis.com - submitted by Aaron Francis – Edit
Aaron Francis clearly explains how you can make Ziggy work with Ineratia's shiney new SSR feature.
Read more [aaronfrancis.com]
– kentcdodds.com – Edit
A pretty interesting read by Kent on how he rebuilt his own site from scratch. Kent is mostly JavaScript focused, so it's good to get a perspective on which technolgies and solutions you choose with such a background.
The website certainly looks very good!
Read more [kentcdodds.com]
– codecourse.com – Edit
In this entirely free video course, you'll learn how to use Alpine.js, a minimal JS framework that I'm using myself on a couple of projects
Read more [codecourse.com]
– world.hey.com – Edit
We're way overdue a correction back to simplicity for the frontend. ES6/HTTP2/Import maps looks like they'll deliver just that.
Read more [world.hey.com]
– jjenzz.com – Edit
If you're into React, you'll appreciate these patterns for working with uncontrolled components
Read more [jjenzz.com]
– v2.dinerojs.com – Edit
Using Dinero, you can perform mutations, conversions, comparisons, format them extensively, and overall make money manipulation in your application easier and safer.
The docs also contain a few falsehoods many developers believe to be true about money.
Read more [v2.dinerojs.com]
– turriate.com – Edit
Here's a nice list of JS niceties that is available natively in modern browsers
Read more [turriate.com]
Claudio Dekker runs you through the GitHub action he created to automatically handle code styling issues at Laravel
Read more [dekker.io]
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
Here are a few tips and tricks that you can use in your Alpine 3.x components.
Read more [ryangjchandler.co.uk]
My colleague Seb quickly explains how to use chokidar
Read more [sebastiandedeyne.com]
– tighten.co - submitted by Jamison Valenta – Edit
Here are some hot tips for mapping large datasets on Google Maps, without sacrificing performance.
Read more [tighten.co]
– larsklopstra.nl - submitted by Lars Klopstra – Edit
Modals can be a pain in the ass, but there's no way around them. I'm currently working on an application where we need them. Whilst working with Inertia.js and Vue.js we have many options available, let's have a look how I solved this issue.
Read more [larsklopstra.nl]
– releasecandidate.dev - submitted by Peter – Edit
Here's a simple approach on how to use cookies with AlpineJS
Read more [releasecandidate.dev]
– lea.verou.me – Edit
A pattern that has come up a few times Vera's my code is the following: an object has a property which defaults to an expression based on its other properties unless it’s explicitly set, in which case it functions like a normal property. Essentially, the expression functions as a default value.
Read more [lea.verou.me]
– www.bram.us – Edit
Here's how Bram Van Damme prevents double form submissions
Read more [www.bram.us]
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
Learn how to build a remaining character counter in Alpine.js using only a few lines of code.
Read more [ryangjchandler.co.uk]
by Freek Van der Herten – 4 minute read – Edit
After sending a new edition of my newsletter, I usually tweet out a webview URL together with a URL where people can subscribe to the newsletter. A webview is a hard to guess URL that people who didn't subscribe can visit to read the content of the newsletter.
Seb explains how web components work using a shadow DOM.
Read more [sebastiandedeyne.com]