Portals considered harmful

📖 tl;dr: Make sure that each Portal and render() root has its own DOM node. Don't mix the two or try to share roots as that's undefined behavior and leads…

When should I use preact compat?

📖 tl;dr: Use preact/compat when you are including third-party libraries in your project that were originally written for React. What's the difference between preact and preact/compat? That's a great and…