Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
astro-redux
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9aaa6cbf
authored
2024-05-03 15:10:46 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add ReduxIsland.astro wrapper.
1 parent
b37eee96
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
package.json
src/ReduxIsland.astro
package.json
View file @
9aaa6cb
...
...
@@ -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"
...
...
src/ReduxIsland.astro
0 → 100644
View file @
9aaa6cb
---
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}])}
Please
register
or
sign in
to post a comment