3 ms·
I think the biggest benefit of having the same view layer logic on the front-end and back-end is to send pre-rendered views to the client without having to to g
by afshin 11y ago
I think the biggest benefit of having the same view layer logic on the front-end and back-end is to send pre-rendered views to the client without having to to generate the markup using two different sets of code.
Other than that, your data access and APIs could be written in any language, if you separate your view logic out. React on the client and server makes it easy to have the same view logic without making a similar commitment about the rest of your business logic.