4 ms·
> Web app > Do I really need Node? Do you need a back-end? If so, doesn't need to be written in JS. React / Angular are for SPAs- single page web apps- load o
by jasonjmcghee 4y ago
> Web app
> Do I really need Node?
Do you need a back-end? If so, doesn't need to be written in JS.
React / Angular are for SPAs- single page web apps- load once and you've got the entire client.
No reason it needs to be this way. Just serve the page from the back-end.
Also perfectly fine for it to be an SPA. You can use React, which has some nice features for managing the page lifecycle.
Preact is a much lighter weight React.
Svelte and htmx are both nice alternatives.