Jason Miller

Results 1189 comments of Jason Miller

Good to know. Very weird ...

Very strange... yeah could be that or something funky with TextNode normalization

Most times JSX will collapse it. I'll try to look deeper into this tonight!

Strange, not sure why that would be.

That makes sense - we were seeing that storing a reference to empty Text nodes in IE keeps them from being normalized away.

It was definitely just for simplicity. Technically there isn't a real reason to debounce rendering at all in `preact-cycle`, so it could just be made synchronous. I think my original...

This is true of any Preact/react component. Update Cascade can be mitigated using shouldComponentUpdate or memo. Fwiw the render() call diffs, so what's happening here isn't necessarily a DOM mutation,...

Technically it's possible to avoid triggering rerenders by hoisting things out of render: ```js const myPortal = class Outer { render() { return {myPortal} } } ```

Want to submit a PR?

I'm trying to figure out what could cause this, no luck so far.