#Single-Page-Applications
3 notas · última:
How LiveView differs from a traditional SPA
The text contrasts traditional SPAs, which split state and code between client and server, with Phoenix LiveView, which keeps state on the server and reduces custom browser-server code.
Causes of Memory Leaks in JavaScript and How to Avoid Them
The article explains how memory leaks happen in JavaScript, how to spot them with browser tools, and which coding patterns most often keep objects alive too long in SPAs.
CORS in Phoenix
Explains why SPAs need a backend, how Phoenix serves as a JSON API, what CORS is, and how Phoenix plugs can add CORS headers while handling pre-flight OPTIONS requests.
