Get the latest tech news
JSX over the Wire
Turning your API inside-out.
For example, you might implement an ios:ColorPicker primitive in the native code so that it follows your finger’s movement, but persist the chosen color using a call to the API that will serve you the next screen as JSON. But moving the routing logic into the ViewModel world would let RouterViewModel wrap its output into a client-side<Router> that could re-request the JSON when you navigate to another screen. Although in the first part of this post, Server Components began their journey as ViewModels, their lineage can be equally convincingly traced back to Async XHP tags.
Or read this on Hacker News