Replies: 1 comment 4 replies
-
Yeah, Spruce is on the window so you can access all of the methods you mentioned. It wouldn't be too hard, other than listening for global state changes. Watchers would work but might not be the most performing. I could add a hook into Spruce for that though, would mean a minimum version requirement is needed. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Maybe one for @ryangjchandler, what would it take for the devtools to have a "stores" tab?
If I remember correctly, Spruce has a methods (outside of Alpine) for:
("stores" > "spruce" so that we're forward compatible if stores make it into v3)
The tricky bit might be to be able to access the same
Spruce
as the user, if we can dowindow.Spruce
we should be alright though.Beta Was this translation helpful? Give feedback.
All reactions