9aaa6cbf by Adam Heath

Add ReduxIsland.astro wrapper.

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