by baron816 · 6y ago · 0 comments
If it’s just those things, why would the developers want to accommodate those people? That would result in lost revenue.
- Certain problems, like ensuring that browser navigation works properly, either disappear or are massively reduced.
- We wrestle with bundle sizes a lot less, since a majority of our code ends up being genuinely server-rendered only - there's little to no advantage to doing additional client side rendering of a straightforward form or other mostly static content.
- Integration tests can be faster and more straightforward to write if you don't need to worry about JS. Of course, they're not full end-to-end if you're not testing JS, but for secondary flows they can suffice for the "good enough" category, and often (but not always) failures in your client JS will allow the SSR code to keep running fine as a backup.