I just ended up using this route due to being for me the "simplest" solution at the time, since express was 99% used for RESTful Web Services.
In terms of performance, I think it is neglectable.
Second Question:
This is not meant for SPA. This should be just for Server-side Rendering our SSGs.
Briefly said:
If you won't need to use SEO (GoogleBot now runs JS); you are most likely building tools; it doesn't matter how long it takes your webpage to load and be responsive. SPA is Fine.
If you are working with:
e-commerce, showcasing, marketing;
where speed and responsiveness matters;
SEO
SSR or SSG are the best options.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Probably using EJS or Cheerio to edit Meta and Title tags would be more ideal, but is it performant?
What did people really do in production for SPA's?
Thanks for the answer!
Both would be fine.
I just ended up using this route due to being for me the "simplest" solution at the time, since express was 99% used for RESTful Web Services.
In terms of performance, I think it is neglectable.
Second Question:
This is not meant for SPA. This should be just for Server-side Rendering our SSGs.
Briefly said:
If you won't need to use SEO (GoogleBot now runs JS); you are most likely building tools; it doesn't matter how long it takes your webpage to load and be responsive. SPA is Fine.
If you are working with:
SSR or SSG are the best options.