9aaa6cbf by Adam Heath

Add ReduxIsland.astro wrapper.

1 parent b37eee96
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
5 ".": "./src/index.mjs", 5 ".": "./src/index.mjs",
6 "./client": "./src/client.mjs", 6 "./client": "./src/client.mjs",
7 "./slices": "./src/slices.mjs", 7 "./slices": "./src/slices.mjs",
8 "./react": "./src/react.jsx" 8 "./react": "./src/react.jsx",
9 "./ReduxIsland": "./src/ReduxIsland.astro"
9 }, 10 },
10 "sideEffects": [ 11 "sideEffects": [
11 "@use-sync-external-store/with-selector.js" 12 "@use-sync-external-store/with-selector.js"
......
1 ---
2 import "use-sync-external-store/with-selector.js"
3 //import { ReduxAstroProvider } from 'astro-redux/react'
4
5 const { props, locals: { store } } = Astro
6 ---
7 {await Astro.slots.render('default', [{ASTRO_STORE: store}])}