2 ms·
In a way modern SPAs with a large JS installed payload/app on a browser are very simiar to a 'desktop' app communicating via a form of RPC to some remote servic
by ClayFerguson 10y ago
In a way modern SPAs with a large JS installed payload/app on a browser are very simiar to a 'desktop' app communicating via a form of RPC to some remote services. The main "epiphany" most developers are still missing today is how to make a SPA/WebApp consume ONLY a data-serving API in the browser that gets back ONLY JSON (no HTML) from the server calls, and yet be able to render itself into HTML. The main leap of knowledge is to learn how to do HTML rendering on the browser, and not the client. Let the server be only an raw Data API, that sends back DATA and no presentation. Like Microservices.