3 ms·
Alternatively, just don't write an SPA. Write a regular site, with just the few interactive elements you need. If you use react or vue, you can plug components
by BiteCode_dev 5y ago
Alternatively, just don't write an SPA. Write a regular site, with just the few interactive elements you need.
If you use react or vue, you can plug components precisely anywhere on the page, you don't need to take over the page entirely.
In fact, with vue, you can even put the template in the HTML directly, and just hook the logic on to it, angularjs v1 style.
- oliv__ 5y ago> In fact, with vue, you can even put the template in the HTML directly, and just hook the logic on to it, angularjs v1 style. That's what I do, I love the simplicity of it and how it lets you render html pages server side, with the added JS for interactivity. Maybe not the cleanest architecture but extremely straightforward.