Jason Miller

Results 155 issues of Jason Miller

This doesn't work in 100% of cases, like when an event handler is registered on an input but does not trigger rendering.

This uses a technique from Preact 8.

Note: I don't necessarily think this is something we want to do. I just wanted to get an implementation up for folks investigating on the compilation side of things. https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md#jsx-transform-changes

Just a thought based on the retaining objects seen in #2336. Fixing this would be another potential upside we'd gain from moving to a persistent backing tree.

Instead of annotating the VNode at a suspend point (a component that threw during render) with `_hydrateDom`, annotate the VNode at the Suspense boundary (the component that implemented `componentDidCatch()`). When...

I wrote a design doc instead of super long code comments: https://github.com/preactjs/preact/wiki/Hydration-Design-Documentation

Just putting up a WIP of what I am thinking is a potential fix for a few issues, by adding in bookkeeping that appears to be missing for `excessDomChildren`.