Skip to content

docs(examples): add Vue/Solid/Svelte login + React validation flow examples (#18) - #29

Merged
ayden94 merged 2 commits into
mainfrom
feat/examples
Jul 24, 2026
Merged

docs(examples): add Vue/Solid/Svelte login + React validation flow examples (#18)#29
ayden94 merged 2 commits into
mainfrom
feat/examples

Conversation

@ayden94

@ayden94 ayden94 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What

Add four minimal Vite examples to lower the adoption barrier, resolving #18.

New examples

Example Framework Demonstrates
examples/vue-login-form Vue 3 + @ilokesto/form/vue useRegister, useFormState, handleSubmit, field-local Standard Schema validation
examples/svelte-login-form Svelte 5 + @ilokesto/form/svelte register action, useFormState readable store, handleSubmit, field-local schemas
examples/solid-login-form Solid + @ilokesto/form/solid useRegister, useFormState, handleSubmit, field-local schemas
examples/react-validation-flow React + @ilokesto/form/react Async Standard Schema validators, validateOn: ["change", "blur", "submit"], useField with error rendering

Structure

Each example is self-contained:

  • Own package.json with @ilokesto/form linked via workspace:*
  • Vite config aliasing @ilokesto/form and the adapter subpath to local src/
  • tsconfig.json with matching path aliases
  • Single-page form demo + README.md

Changeset

.changeset/add-examples.md with patch bump.


머지 금지 — 사용자 검증 후 머지 지시 예정

Resolves #18

ayden94 and others added 2 commits July 24, 2026 10:30
…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).
@ayden94
ayden94 merged commit 90950d7 into main Jul 24, 2026
1 check passed
@ayden94
ayden94 deleted the feat/examples branch July 24, 2026 01:35
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.

P2: examples 부족 — React 1개만 존재, Vue/Solid/Svelte + 핵심 시나리오 예제 필요

1 participant