Post

@remix.run's hybrid reconciler lets me apply animations to frame updates made of purely HTML, persisting DOM elements that are shared between the updates 🤯

0 reposts0 likes

Break this down for me, I don’t quite understand what you’re describing. Though admittedly, I’ve hammered handle.update() in requestAnimationFrame to power a threejs scene and Remix didn’t even break a sweat, so I kinda get the idea.

It's something like this. When a Frame comes back with new HTML, the reconciler turns it into a real vDOM diff so you can apply animations to it from a clientEntry component without turning it into JSON or something