How to Authenticate with Next.js and Auth0: A Guide for Every Deployment Model
In this article, Sandrino Di Mattia (Senior Engineering Manager at Auth0) explains how (and where) to authenticate your user in the different deployment models that exist for Next.js.
In this article, Sandrino Di Mattia (Senior Engineering Manager at Auth0) explains how (and where) to authenticate your user in the different deployment models that exist for Next.js.
Lifting state up is killing your React app
How could it be possible that one of the 12 main concepts listed in React official documentation might lead to poor performance? This (controversial) article considers a situation when it’s indeed the case.
How could it be possible that one of the 12 main concepts listed in React official documentation might lead to poor performance? This (controversial) article considers a situation when it’s indeed the case.
Building a Full-Stack App with Serverless and React
Serverless-Stack.com is a comprehensive, open source guide for building full-stack apps with Serverless and React on AWS. The new edition of the guide has been updated to use React Hooks and it also features a section on the best practices for building Serverless apps
Serverless-Stack.com is a comprehensive, open source guide for building full-stack apps with Serverless and React on AWS. The new edition of the guide has been updated to use React Hooks and it also features a section on the best practices for building Serverless apps
SST
Build modern full-stack serverless applications on AWS with Next.js, SvelteKit, Remix, Astro, Solid, and more.
Introducing Concurrent Mode (Experimental) – Official React Blog
Just announced at React Conf, this page provides a theoretical overview of Concurrent Mode. As a general reminder, don’t rely on experimental builds of React in production apps 🙂
Just announced at React Conf, this page provides a theoretical overview of Concurrent Mode. As a general reminder, don’t rely on experimental builds of React in production apps 🙂
Preparing for the Future with React Prereleases – Official React Blog
"To share upcoming changes with our partners in the React ecosystem, we’re establishing official prerelease channels. We hope this process will help us make changes to React with confidence, and give developers the opportunity to try out experimental features."
"To share upcoming changes with our partners in the React ecosystem, we’re establishing official prerelease channels. We hope this process will help us make changes to React with confidence, and give developers the opportunity to try out experimental features."
Lessons Learned from 5 Years in React
In this article, Cory House shares 63 quick lessons and tips for working in the React ecosystem. These tips are broken down by topic, including state management, props, styling, reusable components, and more.
In this article, Cory House shares 63 quick lessons and tips for working in the React ecosystem. These tips are broken down by topic, including state management, props, styling, reusable components, and more.
Persistent Layout Patterns in Next.js
In this article, Adam Wathan explains four main patterns for persistent layouts in Next.js applications.
In this article, Adam Wathan explains four main patterns for persistent layouts in Next.js applications.
Build your own React in 90 lines of JavaScript
When Ameer started learning React, he felt whatever it did was pure magic, then he started to wonder what were the actual ingredients of this magic. He started to freak out when he realized whatever React does is very simple and you can build it with few lines of JavaScript if you are not betting on it for our next big startup. This is what has motivated him to write this article and hopefully after reading this, you will also feel the same way.
When Ameer started learning React, he felt whatever it did was pure magic, then he started to wonder what were the actual ingredients of this magic. He started to freak out when he realized whatever React does is very simple and you can build it with few lines of JavaScript if you are not betting on it for our next big startup. This is what has motivated him to write this article and hopefully after reading this, you will also feel the same way.
Suspense Demo for Library Authors | Dan Abramov
This project is built with Suspense and is meant to demonstrate
This project is built with Suspense and is meant to demonstrate
render-as-you-fetch. In Dan's own words: "It is highly experimental and primarily aimed at library authors!"Why Is React Concurrent Mode Exciting?
Last week the React team released an experimental version of Concurrent Mode to the public. It's been in development for over a year and the React community has been very excited about its release. What is Concurrent Mode? The documentation pages has a nice and concise denoscription: "Concurrent Mode is a set of new features that help React apps stay responsive and gracefully adjust to the user’s device capabilities and network speed." However if you don't know how Concurrent Mode works or what it actually lets you do you may be left wondering, "Why all the excitement?" If that's you then this blog post is for you.
Last week the React team released an experimental version of Concurrent Mode to the public. It's been in development for over a year and the React community has been very excited about its release. What is Concurrent Mode? The documentation pages has a nice and concise denoscription: "Concurrent Mode is a set of new features that help React apps stay responsive and gracefully adjust to the user’s device capabilities and network speed." However if you don't know how Concurrent Mode works or what it actually lets you do you may be left wondering, "Why all the excitement?" If that's you then this blog post is for you.
Why React Hooks?
When React Hooks were released, React was the most popular and most loved front-end framework in the JavaScript ecosystem. In this post, you'll learn why, despite existing praise, the React team dedicated so many resources to creating and releasing Hooks. Along the way, you'll also get a soft introduction to the main aspects of the Hooks API.
When React Hooks were released, React was the most popular and most loved front-end framework in the JavaScript ecosystem. In this post, you'll learn why, despite existing praise, the React team dedicated so many resources to creating and releasing Hooks. Along the way, you'll also get a soft introduction to the main aspects of the Hooks API.
How to Use the useContext Hook in React
This tutorial explores the React useContext Hook by walking you through the building of a media player. It also describes the benefits of using React Context in long component trees, When to add state to a Context, the benefits of abstracting out common logic into a custom React Hook, and more.
This tutorial explores the React useContext Hook by walking you through the building of a media player. It also describes the benefits of using React Context in long component trees, When to add state to a Context, the benefits of abstracting out common logic into a custom React Hook, and more.
React Dashboard Guide
This is helpful guide for building dynamic analytics dashboards and applications with React, GraphQL, and Cube.js.
This is helpful guide for building dynamic analytics dashboards and applications with React, GraphQL, and Cube.js.
react-zen: React utilities for working with APIs
Suspense enabled hooks to Automatically fetch and purge snapshots from REST APIs, Supports manual updates/refreshes.
Suspense enabled hooks to Automatically fetch and purge snapshots from REST APIs, Supports manual updates/refreshes.
Formik 2.0 - Build forms in React, without the tears
Formik is a small library that helps you with the 3 most annoying parts of building forms in React:
1. Getting values in and out of form state
2. Validation and error messages
3. Handling form submission
By colocating all of the above in one place, Formik will keep things organized--making testing, refactoring, and reasoning about your forms a breeze.
Formik is a small library that helps you with the 3 most annoying parts of building forms in React:
1. Getting values in and out of form state
2. Validation and error messages
3. Handling form submission
By colocating all of the above in one place, Formik will keep things organized--making testing, refactoring, and reasoning about your forms a breeze.
SWR - React Hooks for Remote Data Fetching
SWR first returns the data from cache (stale), then sends the fetch request (revalidate), and finally comes with the up-to-date data again. The name “SWR” is derived from
SWR first returns the data from cache (stale), then sends the fetch request (revalidate), and finally comes with the up-to-date data again. The name “SWR” is derived from
stale-while-revalidate, a HTTP cache invalidation strategy popularized by RFC 5861.Building Great User Experiences with Concurrent Mode and Suspense
In this article, Joseph Savona (from the Relay team) introduces best practices for using Concurrent Mode and Suspense. Like Dan's project, this post is most relevant to people working on data fetching libraries in React.
In this article, Joseph Savona (from the Relay team) introduces best practices for using Concurrent Mode and Suspense. Like Dan's project, this post is most relevant to people working on data fetching libraries in React.
Experimenting React Concurrent mode
In this article, Swizec Teller writes about his early experiments with Concurrent mode and React Suspense and discusses what new abilities this update unlocks for developers.
In this article, Swizec Teller writes about his early experiments with Concurrent mode and React Suspense and discusses what new abilities this update unlocks for developers.
React Query Library
This is a library of Hooks for fetching, caching, and updating asynchronous data in React.
This is a library of Hooks for fetching, caching, and updating asynchronous data in React.
Making Instagram.com faster: Part 1 - Instagram Engineering
In recent years, instagram.com has seen a lot of changes — they’ve launched stories, filters, creation tools, notifications, and direct messaging as well as myriad other features and enhancements. However, as the product grew, one unfortunate side effect was that their web performance began to suffer. Over the last year, they made a conscious effort to improve this. Their ongoing efforts have thus far resulted in almost 50% cumulative improvement to their feed page load time. This series of blog posts will outline some of the work they’ve done that led to these improvements.
In recent years, instagram.com has seen a lot of changes — they’ve launched stories, filters, creation tools, notifications, and direct messaging as well as myriad other features and enhancements. However, as the product grew, one unfortunate side effect was that their web performance began to suffer. Over the last year, they made a conscious effort to improve this. Their ongoing efforts have thus far resulted in almost 50% cumulative improvement to their feed page load time. This series of blog posts will outline some of the work they’ve done that led to these improvements.
Medium
Making Instagram.com faster: Part 1
In recent years instagram.com has seen a lot of changes — we’ve launched stories, filters, creation tools, notifications, and direct…