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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of wire

wire

Photo of JSX

JSX

Related news:

News photo

Bosch's brake-by-wire system may be the next big leap in automotive tech

News photo

This Apple Watch charger can juice up your iPhone or AirPods with one wire

News photo

The 'no. 8 wire' tradition in New Zealand