5 ms·
Could anyone explain what Next.js is? I use React (using create-react-app), but I'm under impression that React is a JavaScript framework (like Spring is Java f
by wiradikusuma 8y ago
Could anyone explain what Next.js is? I use React (using create-react-app), but I'm under impression that React is a JavaScript framework (like Spring is Java framework, or RoR is Ruby framework).
So Next.js is a framework for a framework?
- vanderZwan 8y ago> Next.js is a minimalistic framework for server-rendered React applications. https://github.com/zeit/next.js/ https://github.com/zeit/next.js/ So a specialized framework based on another framework
- sakarisson 8y agoReact by itself isn't really a framework.
- dntrkv 8y agoReact provides a way to build pages and components, Next.js provides the other pieces that make up a full-stack framework like routing, asset mgmt, and most importantly, server-side rendering. Getting SSR to work seamlessly with Webpack, Babel, and any other frontend tooling is a pain in the ass, Next.js makes it dead simple.
- pests 8y agoReact is nostly the view layer. Next provides everything else.
- tvalentius 8y agoReact is more of a library instead of a framework and it's just the view layer. Next.js is a framework(minimalist) for React. https://github.com/zeit/next.js/ https://github.com/zeit/next.js/
- zerr 8y agoAnd what would be the "maximalist"/rich framework for React? (with lots of pre-made RAD components I guess).