3 ms·
Take a look at Next.js, which incorporates a general-purpose router, does all the Webpack stuff for you, has generally painless server side rendering support (b
by crooked-v 6y ago
Take a look at Next.js, which incorporates a general-purpose router, does all the Webpack stuff for you, has generally painless server side rendering support (but you can also build a purely client-side bundle), and has direct support for a long list of popular libraries.
It doesn't handle global state, but has tested examples for Redux[1] and various other libs that incorporate the server-side rendering and static site generation functionality that Next.js has.
[1]: https://github.com/vercel/next.js/tree/master/examples/with-redux https://github.com/vercel/next.js/tree/master/examples/with-...
- renewiltord 6y agoThanks for the tip! Also appreciate you had your BTC link up in your keybase :)
- midrus 6y agoYep, next is great. It leaves you only with the following decisions to take: How to do css, css-in-js etc How to build the api, rest graphql or what How to access your database How to do background jobs How to send emails How to organize the project structure How to do validations How to do translations How to do migrations Other than this, it is great.