JSX OVER THE WIRE
An alternative approach to traditional REST APIs is having APIs return UI components as JSON using React Server Components (RSC). By composing ViewModels, the code generating props is directly linked with the code consuming those props. This ends up with self-contained UI pieces that handle their data dependencies, are rendered in a single client-server roundtrip, and maintain client-side state.