svelte-persistent-store icon indicating copy to clipboard operation
svelte-persistent-store copied to clipboard

Implement

Open st-clair-clarke opened this issue 1 year ago • 1 comments

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

st-clair-clarke avatar Nov 23 '24 15:11 st-clair-clarke

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 });

MacFJA avatar Nov 25 '24 15:11 MacFJA