/NextJS

The Ultimate Guide To Next.js Authentication

- Nick Parsons tl;dr: Next.js 13 introduces the App Router, focusing on React Server Components (RSC) for server-side rendering, enhancing performance and edge network efficiency. This shift changes traditional development practices in Next.js, especially in authentication methods. The article explores how authentication works with both the Pages Router and the new App Router, helping developers adapt to these changes and understand the differences in authentication processes between the two systems.

featured in #479


The Ultimate Guide To Next.js Authentication

- Nick Parsons tl;dr: Next.js 13 introduces the App Router, focusing on React Server Components (RSC) for server-side rendering, enhancing performance and edge network efficiency. This shift changes traditional development practices in Next.js, especially in authentication methods. The article explores how authentication works with both the Pages Router and the new App Router, helping developers adapt to these changes and understand the differences in authentication processes between the two systems.

featured in #464


A Complete Guide To Session Management In Next.js

- Nick Parsons tl;dr: "We’re going to produce a simple two page site that allows us access to a protected page if we are logged in. Fundamentally, this is an authentication setup, but we are going to set it up using JSON Web Tokens (JWT) that we’ll store on the client. This will give the user a live "session," so once they have logged in, they can continue to access the protected page, until the token and session expires."

featured in #463


A Complete Guide To Session Management In Next.js

- Nick Parsons tl;dr: “Session management is a concept that flies under the radar in most applications. It’s built into every authentication library you are using, and seamlessly allows users to stay logged in, use different tabs, and stay secure while they are using your app. But because it is abstracted away by auth systems, it’s also opaque. How does session management work to keep track of your usage? Here, we want to build session management in Next.js without using any authentication library to show you what is really happening under the hood.”

featured in #453


Next.js 11

tl;dr: Our mission to create the best developer experience continues with Next.js 11, featuring: (1) Conformance: A system that provides carefully crafted solutions to support optimal UX. (2) Improved Performance: Further optimizations to improve cold startup time so you can start coding faster, and more.

featured in #234


Next.js 10

tl;dr: "This year we've already invested heavily in both developer experience and improving performance for all applications. We focused on reducing the amount of JavaScript the browser has to load."

featured in #213


How To Implement Search By Color When All You Have Is A Good Coffee

- Mike Alche tl;dr: How search was implemented on a Next.JS app using PostgreSQL and third party library called "color thief."

featured in #188