Thanks for article Sam. Kind-of funny how SSR; which was the only way (for 20 years or more e.g. CGI, ASP.NET, MVC etc.); faded away around the time of AngularJS, Angular, Vue and React. Alas we see it back again in this article.
Do you see SSR as having a better footprint for testing?
Sam is a freelance software architect and Internet entrepreneur, currently focussing on frontend technologies. Co-organiser of NG-BE and Angular Belgium meetup.
Jasmine testing does not really do unit testing because all outbound HTML requests must be mocked, that bypasses a lot of the ability to perform a natural test on any component in my opinion.
With server side rendering each request is easily able to be tested using http requests only, which I would think is a lot better than Jasmine trying to do component testing.
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.
Thanks for article Sam. Kind-of funny how SSR; which was the only way (for 20 years or more e.g. CGI, ASP.NET, MVC etc.); faded away around the time of AngularJS, Angular, Vue and React. Alas we see it back again in this article.
Do you see SSR as having a better footprint for testing?
Hi, can you elaborate a bit on "footprint for testing"? Not sure what you mean.. Thanks alot!
Jasmine testing does not really do unit testing because all outbound HTML requests must be mocked, that bypasses a lot of the ability to perform a natural test on any component in my opinion.
With server side rendering each request is easily able to be tested using http requests only, which I would think is a lot better than Jasmine trying to do component testing.