Superforms
felte
Superforms | felte | |
---|---|---|
23 | 16 | |
1,879 | 972 | |
- | - | |
9.9 | 8.1 | |
5 days ago | 3 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Superforms
-
Building a dynamic form with Svelte and Typescript
This next step is probably the easiest. Since you're also sending the select platform template, you can reference that to determine if the data is valid (why not try superforms? I made an adapter for it).
- Superforms 2 for SvelteKit has just been released
-
Ask HN: If you were to build a web app today what tech stack would you choose?
- Superforms (https://superforms.rocks/)
-
Working with forms in SvelteKit coming from React
There are libraries for handling form submissions with builtin integrations for validations libraries, like react-hook-form with @hookform/resolvers for React, and we have superforms for SvelteKit, that handles validation with zod, they both are made for the same purpose.
-
Is tRPC redundant with SvelteKit?
I personally think SvelteKit's type-safety + something like https://superforms.vercel.app/ (or just plain zod if you prefer) is perfect.
-
Suggest Best Svelte Libraries
sveltekit-superforms: Making SvelteKit validation and displaying of forms easier than ever
-
Sveltekit Auth Starter Project with Lucia auth, Skeleton UI, Prisma, Zod and Super Forms.
I made a Sveltekit Auth starter if anyone needs a starting point for an app. A demo is here. It is an open source auth starter project utilizing Lucia for authentication, Skeleton for ui elements, Prisma for database connectivity and type safety and Sveltekit for the javascript framework. I also used Zod and Superforms to handle form validation and management. It has email verification, password reset, and will send an email if the user changes their email address to re-verify it. It is released as open source under an MIT license.
-
Is Sveltekit ready to be used to develop some large-scale projects on it?
Image Virtualization i18n FormValidation Etc...
-
Svelte Kit is the best web framework I’ve ever used
I've been enjoying working with Superforms
-
Superforms now has full SPA support and realtime client-side validation. Check out this library for all your SvelteKit form needs!
Thank you for the suggestion, check it out now: https://superforms.vercel.app/
felte
-
Big update for sveltekit-superforms!
How does it compare to Felte?
-
sveltekit-superforms alternatives - felte, sveltejs-forms, svelte-forms-lib, svelte-use-form, and svelte-final-form
7 projects | 6 Mar 2023
-
What libraries do you miss from other frameworks like Vue or React?
Don’t know if it can help, but I discovered this only recently, which was really missing for me with svelte: https://felte.dev/
- Introducing Skeleton - a Svelte UI component library for creating web interfaces using Svelte + Tailwind
- Client side form validation
-
Shadow DOM, Firefox and contenteditable
I’ve been experimenting with web components in order to build a wrapper for Felte that can easily be used with vanilla JS. One of Felte’s features is the ability to use custom field components that are not based on the browser’s native inputs (input, textarea, select). The example I show is a div with an attribute [contenteditable=“true”]. While testing this experiment I found some weird behaviour coming from Firefox: while I could perfectly click each field and type of it, if I tried to use the form only using the keyboard (tabbing to each field) the focus moved but trying to type would always result in the text being added to the first field I focused.
-
The use:__ feature giving my editor TS errors, but it works
There’s an example on Felte’s repo setting this up!
-
Using native form with web components + felte no data being passed
Ah. Of course 😅. mwc-textfield is not a native input. Felte relies on native inputs. You can use createField (by creating your own "wrapper" Svelte component that will render your ) or... better yet... you can experiment with what I've been working for the past weeks.
-
Creating a Chai like assertion library using proxies
For the past few weeks I’ve taken the (arguably pointless) work of migrating Felte from using Jest to uvu. This is a really tedious work by itself, but one of details that would have made this work even more tedious is that Jest prefers assertions to the style of expect(…).toBe* while uvu gives you freedom to choose any assertion library, although there’s an official uvu/assert module that comes with assertions to the style of assert.is(value, expected).
-
Announcing Felte 1.0: A form library for Svelte, Solid and React
After more than a year of work, I am proud to announce the release of version 1.0.0 of Felte!
What are some alternatives?
svelte-final-form - High performance subscription-based form state management for Svelte
svelte-use-form - The most compact reactive form controller (including Validation) that you'll ever see.
sveltekit-flash-message - Send temporary data after redirect, usually from endpoints. Works with both SSR and client.
svelte-formify
skeleton - A fully featured UI toolkit for Svelte + Tailwind. [Moved to: https://github.com/skeletonlabs/skeleton]
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
wordle - A recreation of the popular game Wordle with additional modes and features. Made with Svelte in Typescript.
svelte-headless-table - Unopinionated and extensible data tables for Svelte
material-web - Material Design Web Components
django-unfold - Modern Django admin theme for seamless interface development
Svelte - Cybernetically enhanced web apps