|
|
|
|
|
by fetbaffe
2102 days ago
|
|
Why wouldn’t it be simpler to code? When you do server side rendering with HTML forms you reduce complexity by having more pages. It is somewhat more complex to handle more pages in your code base, but each page is short and simple. |
|
You end up with a lot of complexity around cookies/local storage (and trying to persuade users that cookies are not bad and that their virus checker should not delete the cookies please ...) or encoding the session ID in the URL and hoping that users do not share links or bookmark pages, and then of course you end up with the "please only click once" links around buttons etc.
You also now need two teams to code the front end - one that knows HTML etc, and one that knows the backend-frontend language (although could be nodejs of course). It is an extra interface that needs to be designed and maintained with all the opportunities for screwups that come with it.