The importance of waiting before installing freshly released packages is increasing. Today, `axios` faced a supply chain attack, but fortunately, it was resolved as soon as possible.
All of the popular package managers now have some type of delay mechanism. For example: `npm` has `min-release-age`, `pnpm` has `minimumReleaseAge`, `yarn` has `npmMinimalAgeGate`, and `bun` has `minimumReleaseAge`.
This should be illegal ~ Guillermo π€―
- Server-side form that updates with view transitions
- Input validation built-in with Zod
- Error handling with ActionError
- FULL API context access for auth, env, etc
In JavaScript, getting the first element of an array or string is pretty easy.
But getting the first line of a multi-line string is trickier.
Here, @femincan explains how the String.indexOf & String.slice, Array.split, & String.match methods work.
https://t.co/VkqUXic3bB
Declaring variables is something you'll do all the time when coding in JavaScript.
And there are three main ways to do it: using var, let, or const.
In this guide, @femincan explains how each one works (with examples) + when to use them in your JS code.
https://t.co/lfANDDKAxT
Forget blogging templates! π
From planning to deployment, @femincan shows how to build aΒ unique blog that reflects YOUΒ with Astro & Headless Hashnode (in minutes) βοΈ
π https://t.co/rNHEMACMjw
React doesn't really care how you fetch remote data in your applications.
There are a few ways to do it - but you'll want to consider stuff like caching, real-time data, etc.
Here, @femincan shows you how to use the SWR library to fetch data in React.
https://t.co/Hwu1L4eOFL
Declaring variables is something you'll do all the time when coding in JavaScript.
And there are 3 main ways to do it: using var, let, or const.
In this guide, @femincan explains how each one works (with examples) + when to use them in your JS code.
https://t.co/lfANDDL8nr