Jason Miller

Results 1173 comments of Jason Miller

`safari-14-idb-fix` won't load in Node < 12 and Jest because it relies on `./index.cjs`, which was never implemented. There are two fixes, and the best solution here would be to...

I have PR'd the second half of the fix at jakearchibald/safari-14-idb-fix#8

What about using Function refs instead of String refs? String refs will eventually be removed from React anyway, I didn't even implement them in preact since they seem ill-fated.

``` js class Foo { render() { return ( this.otherComponent = c } /> ); } } ``` Working example: https://jsfiddle.net/developit/x8qpzjdf/ Here's a little helper function that emulates the behavior...

Idea: we could have compat only turn on autopx the first time it sees a numeric value.

@JoviDeCroock's answer is the correct one - this isn't really what `lazy()` is for. You can contort it into the right shape using a cache if you want: ```js const...

Huge +1 to adding flags, but with extreme caution: it should be a bitmask of values that indicated JSX source assumptions, not library optimizations - that's the only way this...

Would love to see 4.x support so we can move off of Mockgoose.

I created a [preact-based clone of Una's demo](https://codepen.io/developit/pen/MWeBLBO) that combines `content-visibility:auto` with progressive hydration. All hydration of the Virtual DOM for subtrees with `content-visibility:auto` is deferred (no cost paid up-front)...

@chrishtr would the Page Visibility API not suffice there?