Promises From The Ground Up • Josh W. Comeau
Introduction There are a lot of speed bumps and potholes on the road to JavaScript proficiency. One of the biggest and most daunting is Promises. In order to understand Promises,…
Introduction There are a lot of speed bumps and potholes on the road to JavaScript proficiency. One of the biggest and most daunting is Promises. In order to understand Promises,…
Last month we published a preview release of 16.3 that let you try out SPA-like navigations, better AI tooling, and a much less memory-hungry dev server. Today, we’re excited to…
Today we are excited to release React Native 0.87! This release makes the Strict TypeScript API the default JavaScript API, updates Metro to 0.87, adds experimental support for Swift Package…
Suppose you have an API route that returns some data as JSON: app.get(‘/api/likes/:postId’, async (req, res) => { const postId = req.params.postId; const [post, friendLikes] = await Promise.all([ getPost(postId), getFriendLikes(postId,…
I’ve been building React applications since 2015. Since then, React was the biggest single productivity boost for my development by a long shot. React’s declarative model for rendering UI based…
UseEffect is one of the most commonly misunderstood React hooks. Developers often reach for it whenever they need to calculate something, update state, respond to a change, or run some…
The CSS border-image property is one of those features we take for granted. And it’s not new at all! In fact, Andy Clarke has a fairly recent article that “revisits”…
The gap between “you need a library for this” and “the browser does this” keeps closing. A practical guide to auditing your dependencies and finding what the web platform can…
with a child More great articles from LogRocket: const Form = (props) => { return( {props.form} ) } React will repeat this process until it knows the underlying DOM tag…
Introduction I don’t know if you’ve noticed, but the CSS world has been on fire recently. 🔥 Behind the scenes, all major browser vendors and the CSS specification authors have…