Jason Miller

Results 155 issues of Jason Miller

I'd love to have some tests for this component! The simple Jest setup from [preact-shadow-root](https://github.com/developit/preact-shadow-root) would be a good place to start.

This transform should never be used, and is actively harmful for performance since it causes deopts within React. In addition to being harmful in React, it also breaks Preact compatibility...

This tracks animation state and runs a frame loop to update painted elements that are affected by transition/animation changes. It's pretty slow though, and these browsers don't provide "rendered values"...

The [addModule](https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule) implementation here (and perhaps Realm?) could be useful for other worklet polyfills. The AudioWorklet polyfill currently ships a [different implementation](https://github.com/GoogleChromeLabs/audioworklet-polyfill/blob/d6f1a14dacc597876b1a5f9cd8719729a131b585/src/index.js#L62-L90).

enhancement

This is in [the spec](https://drafts.css-houdini.org/worklets/#dictdef-workletoptions), but was not implemented in the polyfill. The only relevant option is `credentials`, which can be forwarded to the XMLHttpRequest used to load Worklets.

enhancement
help wanted
good first issue

This should fix critical CSS inlining.

The async-arrows-in-class transform [uses Babel's arrowFunctionToExpression() helper](https://github.com/babel/preset-modules/blob/6155d0ddd2ba47d1d325659989e80e8a659d0e13/src/plugins/transform-async-arrows-in-class/index.js#L31), which doesn't patch calls to super methods: Input:Output: ```js class A extends B { a() { (async () => { super.b(); })(); }...

bug