3 ms·
Routing could also be shared; you could declare endpoints in one place, but the implementations for client and server would be different. At the risk of oversi
by ralmidani 11y ago
Routing could also be shared; you could declare endpoints in one place, but the implementations for client and server would be different.
At the risk of oversimplifying: on the server, routed actions are concerned with getting data from a database, serializing it, and sending it to the client. On the client, routed actions get data from the server and use it to render a template.