brad
September 15, 2021, 10:50pm
1
I have built myself a Node.js Sandbox web app that I can play with Node locally.
Which is the best way to go? Templating or SPA?
What are the advantages and disadvantages of each?
When you first set up a Node site is it already using one of the above methods?
sid
September 16, 2021, 1:47am
2
From what I understand, template method is default.
We always use SPA. It has its quirks but its fast.
Teodor
September 16, 2021, 6:33am
3
You can build SPA pages with partial refreshing content using the templating system, as explained here:
A single page application (SPA) is a web site/app that re-renders its content in response to navigation actions like clicking a link, without reloading the whole page. It consists of main template and different views, which are rendered in the main...
ben
September 16, 2021, 6:53am
4
This article may help you
For reasons mentioned in the article, I tend to use the Templating for public-facing pages (with exceptions) and SPA for the site’s Dashboard where there is a lot of user interaction.
1 Like