Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement #60

Open
st-clair-clarke opened this issue Nov 23, 2024 · 1 comment
Open

Implement #60

st-clair-clarke opened this issue Nov 23, 2024 · 1 comment

Comments

@st-clair-clarke
Copy link

st-clair-clarke commented Nov 23, 2024

Hi,
This is more of a request than a bug.

Is it possible for you to implememnt Redux DevTools in svelte-persist-store. This would allow us to see the entire store at a glance. I find it very helpful during development.

Let me know what you think.

NB: I have looked at many svelte store and I have not seen this in any - yours would be the first.

I use Signalstory in my angular app, but now I am doing some work with svelte it is somthing I miss very much.

I have settled on your offering of svelte-store to use in my application.

Cheers

@MacFJA
Copy link
Owner

MacFJA commented Nov 25, 2024

Hello,

I looked at what Redux Devtools do,
And it didn't match with what this library do (which is persisting store value for later use).

So I won't implement it inside this library.


But,

I made a library that will do only that: https://www.npmjs.com/package/@macfja/svelte-redux-devtools

It can track any Svelte Writable store.

So you can use it with this lib too:

import { writable } from "@macfja/svelte-persistent-store"
import { trackStores } from "@macfja/svelte-redux-devtools"

let name = writable("name", "John");
trackStores({ name });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants