store icon indicating copy to clipboard operation
store copied to clipboard

Svelte Adapter

Open crutchcorn opened this issue 2 years ago • 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:

crutchcorn avatar Aug 31 '23 21:08 crutchcorn

I can get this one!

GabrielModog avatar Aug 31 '23 21:08 GabrielModog

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

crutchcorn avatar Aug 31 '23 21:08 crutchcorn

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

GabrielModog avatar Sep 02 '23 05:09 GabrielModog

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.

GabrielModog avatar Oct 18 '23 21:10 GabrielModog

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

crutchcorn avatar Oct 18 '23 21:10 crutchcorn

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 avatar Nov 04 '23 21:11 david-roeger

@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 😊

crutchcorn avatar Nov 05 '23 11:11 crutchcorn

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 ^^

david-roeger avatar Nov 05 '23 13:11 david-roeger

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

crutchcorn avatar Dec 13 '23 11:12 crutchcorn