There is hate for JS on the server. But none have accomplished what @MarkoDevTeam has. Forget Islands, forget serialization boundaries, forget writing code twice. Just declarative templates, low JS.
@dylan_piercey joins me Friday to show how it's done.
https://t.co/fHH3pywWEM
@bobaekang@RyanCarniato Binding to member expressions is a recent addition and not supported by the preview we released a while back which is running in the playground. We'll have running examples to share soon!
@dylan_piercey setImmediate queues a macrotask, so we end up with 3 macrotasks in the queue. however when the first one resolves and executes, it begins executing microtasks and doesn't get back to the macrotask queue before the log.
Functionally it's equivalent to: https://t.co/xN7dmAwcUH
@evanyou@dylan_piercey@MarkoDevTeam I'd be interested to see some example libraries that make use of the render fn due to templating limitation and not just stylistic preference. Do you know of any OSS examples?
Chrome, Firefox and Edge show the url on hover. For some reason in Safari it's not enabled by default (to enable: View -> Show Statusbar).
https://t.co/lqClOF71Qz
In case you didn't know, you aren't supposed to be using `cursor: pointer` for every clickable thing. It's intended only for links. Microsoft and Apple both say this
https://t.co/dN6kC6sZQx
https://t.co/VZtCSBKHb1
@_developit@RyanCarniato If DOM Parts makes it into the spec, it seems like the integration that makes the most sense is allowing a Part to accept a standardized signal as its value. And Parts have their own batching. But then there's the question of how to coordinate "user-effects" with this batching.
@JLarky Yeah idk. It's >=1. Both islands and resumability have the ability to eclipse each other and even SSR depending on the scenario and specific framework optimisations. https://t.co/rCIFLhNhXh
@Raynos It's 1 to 2 depending on if you use no client directives (just MPA), client:only (just SPA) or client:load (SSR)
So it's going to be 1, 1, and 2. Depending on your page (same goes for RSCs depending on "use client")
@mhevery@JLarky MPA sends the data once in HTML form. Resumability requires sending not just the HTML, but also some additional state (values closed over by event handles/effects).