Next.js 2.0 plays better with React, JavaScript

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.

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

from Computerworld News http://www.computerworld.com/article/3186444/application-development/nextjs-20-plays-better-with-react-javascript.html#tk.rss_news
from Tumblr http://2375823.tumblr.com/post/158976993083

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s