Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
sveltekit-superforms
Advanced tools
Making SvelteKit forms a pleasure to use!
PageData
and ActionData
- Forget about which one to use and how, just focus on your form data.FormData
into correct types.FormData
- Use nested data structures transparently.ActionResult
, with a possibility to cancel the update at every step.Follow the Get started tutorial on the website to get a hands-on introduction to Superforms: https://superforms.rocks/get-started
You can also watch this excellent introduction video to see what's possible: https://www.youtube.com/watch?v=MiKzH3kcVfs
General feedback, feature requests, bug reports, PR:s, are very welcome as a Github issue or on the Discord server!
If you appreciate the hard work behind Superforms, please support open source software with a donation.
[2.6.1] - 2024-02-24
FormPath
and its relatives, to filter the paths based on a specific type, like FormPathLeaves<T, Date>
.FieldProxy
, FormFieldProxy
and ArrayProxy
.invalidateAll
option 'force'
, to always use the load function form data, instead of the one returned from the form action. Useful when updating the form data partially, to ensure that the data is refreshed from the server (a "pessimistic" update compared to the default, which is optimistic). Setting this also bases the reset
function on the latest load function data returned for the form.defaults
didn't infer the input type, and didn't generate correct SuperValidated
data, making superForm
confused. Also fixed type signature and removed the jsonSchema
option that wasn't applicable.goto
in events didn't work when the target page redirected.FormPath
and FormPathLeaves
didn't handle fields with type unknown
and any
.FAQs
Making SvelteKit forms a pleasure to use!
The npm package sveltekit-superforms receives a total of 49,147 weekly downloads. As such, sveltekit-superforms popularity was classified as popular.
We found that sveltekit-superforms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.