You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Mount In script attribute](https://codesandbox.io/s/mount-in-property-z5rcxg)
50
+
-[React with Props](https://codesandbox.io/s/preact-island-element-placement-with-props-react-49mjrg)
51
+
-[React Portals with Preact Island](https://codesandbox.io/s/preact-island-element-placement-with-props-react-tdss2p)
50
52
51
53
## Installation
52
54
@@ -369,6 +371,9 @@ multiple interior script props are found, all props are merged with the last scr
369
371
370
372
## React Compatibility
371
373
374
+
-[React with Props](https://codesandbox.io/s/preact-island-element-placement-with-props-react-49mjrg)
375
+
-[React Portals with Preact Island](https://codesandbox.io/s/preact-island-element-placement-with-props-react-tdss2p)
376
+
372
377
Preact Island fully supports React using [preact/compat](https://preactjs.com/guide/v10/switching-to-preact). This allows you to bring your existing React components over to Preact to get great performance gains without needing to rewrite your components. Check out the `example-react` folder to a demo repo that reproduces some of the Preact islands as React islands.
373
378
374
379
Depending on what you import from React, using Preact + Preact Island can result in a **15x smaller bundle** for the same functionality and no code changes needed on your end.
0 commit comments