2 ms·
>> I still fail to see why people need to build an entire application twice, once on the server, and again on the client I fully agree, and this is why I can’t
by crubier 7y ago
>> I still fail to see why people need to build an entire application twice, once on the server, and again on the client
I fully agree, and this is why I can’t understand why in 2020, some people still don’t understand that react/SPA and node backend for server side rendering are the best solution.
With react and server-side rendering you code your front end only once, of course. And the same codebase can be rendered on the server or on the client transparently. Same JS libraries can be used in the server, in the browser, in mobile apps with react native.
There is just the API on one side, and the frontend on the other side. Where the frontend is rendered does not matter.