Next JS 12–Amazing New Features
Next 12 just came out and it comes with a number of incredible features. Vercel, the company that created Next, has really outdone themselves with the latest release. Next 12 comes built with upgrades that improve the life of both users and developers alike. Here are 5 of the best features that are included with the latest release of Next.
1. Rust Compiler
Next JS now compiles into rust code before going into production. All your code will still be written in JavaScript but now it is automatically converted into Rust code to run and compile faster. This greatly improves performance and refresh time without any additional work for developers.
2. Middleware Support
Middleware gives developers the ability to use code over configuration. You can now run code before a request is completed. This opens up a number of doors and provides the flexibility for simple implementation for many new features.
3. URL Imports
You can now import ES6 modules with URLs. URL imports allow you to use any package directly through a URL. This enables Next.js to process remote HTTP(S) resources exactly like local dependencies.This doesn’t require any additional build steps or packages. If a URL is detected, Next automatically creates the necessary files to track the import and make sure that it works.
Next JS includes a number of new features that are also super useful. Check out the documentation to learn more!
— —
Let’s Connect
Portfolio: https://seanmarcus.com
Email: seanmarcusjoesting@gmail.com