docs(examples): add Vue/Solid/Svelte login + React validation flow examples (#18) - #29
Merged
Conversation
…amples Add four minimal Vite examples to lower the adoption barrier: - examples/vue-login-form: Vue 3 + @ilokesto/form/vue login form with useRegister, useFormState, handleSubmit, field-local schemas - examples/svelte-login-form: Svelte 5 + @ilokesto/form/svelte login form with register action, useFormState, handleSubmit - examples/solid-login-form: Solid + @ilokesto/form/solid login form with useRegister, useFormState, handleSubmit, field-local schemas - examples/react-validation-flow: React async validation demo with validateOn: ['change', 'blur', 'submit'] and async Standard Schema validators showing the race-condition-safe generation counter Each example is self-contained with its own package.json, aliases @ilokesto/form to local src/ for development, and includes a README. Resolves #18
Sync lockfile after adding example projects (Vue/Solid/Svelte/React-validation-flow).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add four minimal Vite examples to lower the adoption barrier, resolving #18.
New examples
examples/vue-login-form@ilokesto/form/vueuseRegister,useFormState,handleSubmit, field-local Standard Schema validationexamples/svelte-login-form@ilokesto/form/svelteregisteraction,useFormStatereadable store,handleSubmit, field-local schemasexamples/solid-login-form@ilokesto/form/soliduseRegister,useFormState,handleSubmit, field-local schemasexamples/react-validation-flow@ilokesto/form/reactvalidateOn: ["change", "blur", "submit"],useFieldwith error renderingStructure
Each example is self-contained:
package.jsonwith@ilokesto/formlinked viaworkspace:*@ilokesto/formand the adapter subpath to localsrc/tsconfig.jsonwith matching path aliasesREADME.mdChangeset
.changeset/add-examples.mdwithpatchbump.머지 금지 — 사용자 검증 후 머지 지시 예정
Resolves #18