Use Alpine.js with Jeasx
Alpine.js is a minimal tool for composing behavior directly in your markup. To use it with Jeasx, import it in a browser bundle (see index.js of this example) and add x- attributes to your JSX.
The coffee bar below is a component registered with Alpine.data() in index.js. The menu comes from the server as JSON in x-data, x-model binds the choices, getters compute the prices and x-for renders the order.