Next.js, a minimalist framework for server-rendered React applications, has moved to a 2.0 release focused on enabling smaller apps and making it easy to use React.Developers can place React components in a pages directory and, by then run next to get automatic code-splitting, routing, hot code reloading, and universal server- and client-side rendering.

This plays well with the rest of the React and JavaScript (NPM) ecosystems.[ Use JavaScript in your dev shop? InfoWorld looks at 17 JavaScript editors and IDEs and 22 JavaScript frameworks ready for adoption. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
Next.js 2.0 also changes how builds work, resulting in smaller and more efficient apps, the developers said. Webpack common chunks have been set up to avoid shipping repeated code across components, and page loads have been made faster through the use of hashes so initial bundle files on clients are cached permanently. Other provisions were made to ensure an app works correctly.To read this article in full or to leave a comment, please click here

Leave a Reply