3 ms·
If you decide to do an SPA, I'd recommend Next.js, because even if you use zero of the features and just put everything in a single index.jsx component, it does
by crooked-v 5y ago
If you decide to do an SPA, I'd recommend Next.js, because even if you use zero of the features and just put everything in a single index.jsx component, it does all the Webpack stuff for you. It also has some other useful stuff like easy support for rendering plain Markdown files into static files at build time, so you can use it as a more capable alternative to tools like Jekyll [1].
[1]: https://nextjs.org/blog/markdown https://nextjs.org/blog/markdown
- ggregoire 5y agoJust use create-react-app if you don't need any of the features provided by next.js. https://reactjs.org/docs/create-a-new-react-app.html#recommended-toolchains https://reactjs.org/docs/create-a-new-react-app.html#recomme...
- phreack 5y agoYeah, I love next.js. I'm much more willing to go that route than fight Webpack.