TanStack/store

Svelte Adapter

crutchcorn opened this issue ยท 9 comments

It would be really cool to see a Svelte adapter for this project. I have a few questions I'm unclear about that would need to be solved:

I can get this one!

Spoke with @GabrielModog in DMs - he's gonna try to tackle this work!

I guess is done. But I will add the tests yet.

I can't find a way to Svelte comunicate with the store when the state change.

I try a few things like derived state from svelte, but didn't work.

Gotcha. Reopening the issue for someone else to potentially help :)

Hey there,

is there still help needed for this issue?

I was looking into porting @tanstack/forms to Svelte and one of the first things I did was write the store adapter.

I got a working fork including tests and such (even tho I'm not 100% confident with the setup of the package).

@david-roeger yes! We'd love this! I've been hoping for a Svelte adapter to our Forms package ๐Ÿ˜„๐Ÿ˜„

Send a PR and let me know how I can help - even happy to set up a call if you'd like ๐Ÿ˜Š

Hi @crutchcorn I opened the PR here. If you could have a look at the setup of the package that would be great.

Regarding the forms adapter. There are quite some footguns I'd be happy to talk ^^

Oh @david-roeger! I'm super sorry - I missed this!

Let's chat about what those footguns look like in our Discord](https://tlinz.com/discord) - there was another contributor that was potentially interested in making a Svelte adapter