Next.js Router Update: Changes from Next 9.2 to Next 10

Next.js Router Update: Changes from Next 9.2 to Next 10

In this Next.js 10 tutorial, we are going to see all the changes that happened in the Next.js Router between all the 9.x versions up to version 10.

In this video we are going to see all the changes that happened in the Next.js Router between all the 9.x versions up to version 10.

We will see that the router is now case sensitive and we no longer need to use the "as" property in the Link component.

At the end of the video I'll also show how to ignore some files in the pages folder, to avoid primarily creating new pages for the unit test files.

In the past I showed you that you could create a container folder to match your pages folder structure and only export your components in the pages folder. That way you would not open new routes for every single unit test file named "file.spec.js". For that we will be using next.config.js with "pageExtensions" property.

GitHub Repository: https://github.com/bmvantunes/youtube-2020-nov-nextjs-router

next.config.js default values: https://github.com/vercel/next.js/blob/canary/packages/next/next-server/server/config.ts#L23

Next.js Link API Reference: https://nextjs.org/docs/api-reference/next/link

Timeline:

  • 00:00 Introduction
  • 01:21 Case Sensitive Routing
  • 03:20 Link without "as" prop for dynamic routes
  • 05:28 Having unit-tests (file.spec.js) in page folder without creating new routes

next react javascript web-development developer

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Next.js vs. React: The Developer Experience

The developer experience for Next.js vs. React is similar in some ways and drastically different in others. In the world of React, Next.js has become a popular framework for “hitting the ground running.” Next.js builds on top of React to provide a streamlined development experience. There is definitely a different experience when building a project with Next.js vs. React.

Tendencias Javascript y Web 2020. React, Next.js, Deno

Tendencias Javascript y Web 2020. React, Next.js, Deno. En este video te voy a mencionar algunas herramientas y frameworks que fueron, seguirán siendo o van a ser tendencia en este 2020. Entre ellas están React, Next.js, Deno, los Headless CMS como Strapi, entre otros.

Hire Dedicated React Native Developer

Have you ever thought of having your own app that runs smoothly over multiple platforms? React Native is an open-source cross-platform mobile application framework which is a great option to create mobile apps for both Android and iOS. **[Hire...

Hire Dedicated React Native Developer in India | React Native Development

Hire dedicated React Native developers for your next project. As the top react native development company we offer you the best service as per your business needs.