Skip to content

Svelte composition api #1713

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Svelte composition api #1713

wants to merge 10 commits into from

Conversation

crutchcorn
Copy link
Member

@crutchcorn crutchcorn commented Aug 23, 2025

This PR adds the Composition API to our Svelte adapter via a createFormRune function.

TODOs

  • Port code
  • Write tests
  • Write docs
  • Write example code

Copy link

nx-cloud bot commented Aug 23, 2025

View your CI Pipeline Execution ↗ for commit 231ae85

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 40s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 3s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-23 10:59:39 UTC

Copy link

pkg-pr-new bot commented Aug 23, 2025

More templates

@tanstack/angular-form

npm i https://pkg.pr.new/@tanstack/angular-form@1713

@tanstack/form-core

npm i https://pkg.pr.new/@tanstack/form-core@1713

@tanstack/lit-form

npm i https://pkg.pr.new/@tanstack/lit-form@1713

@tanstack/react-form

npm i https://pkg.pr.new/@tanstack/react-form@1713

@tanstack/solid-form

npm i https://pkg.pr.new/@tanstack/solid-form@1713

@tanstack/svelte-form

npm i https://pkg.pr.new/@tanstack/svelte-form@1713

@tanstack/vue-form

npm i https://pkg.pr.new/@tanstack/vue-form@1713

commit: 231ae85

Copy link

codecov bot commented Aug 23, 2025

Codecov Report

❌ Patch coverage is 67.64706% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.11%. Comparing base (d3a1b59) to head (231ae85).

Files with missing lines Patch % Lines
packages/svelte-form/src/createFormRune.svelte.ts 68.18% 6 Missing and 1 partial ⚠️
packages/svelte-form/src/AppForm.svelte 0.00% 2 Missing ⚠️
packages/svelte-form/src/AppField.svelte 66.66% 1 Missing ⚠️
packages/svelte-form/src/createForm.svelte.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1713      +/-   ##
==========================================
- Coverage   90.52%   83.11%   -7.41%     
==========================================
  Files          37        8      -29     
  Lines        1688       77    -1611     
  Branches      421        4     -417     
==========================================
- Hits         1528       64    -1464     
+ Misses        143       12     -131     
+ Partials       17        1      -16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

1 participant