Skip to content

docs: runnable Svelte + Solid examples, try-online links (9 locales) - #22

Merged
jlc488 merged 1 commit into
mainfrom
feature/svelte-solid-examples
Aug 8, 2026
Merged

docs: runnable Svelte + Solid examples, try-online links (9 locales)#22
jlc488 merged 1 commit into
mainfrom
feature/svelte-solid-examples

Conversation

@jlc488

@jlc488 jlc488 commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

v0.5 shipped the Svelte and Solid adapters, but examples/ still held only vanilla/vue/react — so every README's Try it online row listed three frameworks and read as if the other two weren't supported.

Both are mini Vite projects consuming the published package (the same shape StackBlitz builds):

  • Sveltebind:value on both the 'en' restore and 'ko' compose fields (which is what proves the action's re-sync), plus use:kokeyPaste.
  • Solid — mode driven by a signal with a live switch button, plus useKokey and use:kokeyPaste.

Both call register(ru) so the 'en' field demonstrates cross-script restoration, not just Korean.

Note on the toolchain

@sveltejs/vite-plugin-svelte@6 peers on vite ^6 || ^7 and fails to install against the vite 8 the other examples use. v7 peers on vite 8 and pulls svelte ^5.46.4.

Verification

npm install + npm run build for each, then served each build and drove it in a real browser:

  • Svelte: ㅇㄴㅁ쇼dsaty, приветghbdtn, dkssud안녕, pasted dkssudgktpdy안녕하세요; both bind:value readouts tracked correctly.
  • Solid: same conversions across a live enko mode switch; ref factory gave gksrmf한글; paste corrected.

Try-online rows updated in all nine localized READMEs. Test suite still 100/100, typecheck green.

v0.5 shipped the Svelte and Solid adapters but examples/ still held only
vanilla/vue/react, so every README's try-online row listed three
frameworks and read as if the other two were unsupported.

Both examples are mini Vite projects consuming the PUBLISHED package, the
same shape StackBlitz builds, and each exercises the adapter surface:
Svelte uses bind:value on both the 'en' restore and 'ko' compose fields
(proving the action's re-sync) plus use:kokeyPaste; Solid drives the
mode through a signal with a switch button, plus useKokey and
use:kokeyPaste. Both register(ru) so the 'en' field demonstrates
cross-script restoration.

@sveltejs/vite-plugin-svelte 6 peers on vite ^6||^7 and would not install
against the vite 8 the other examples use — v7 peers on vite 8 and pulls
svelte ^5.46.4.

Verified by npm install + build + serving each build and driving it in a
real browser: Svelte restored ㅇㄴㅁ쇼 to dsaty and привет to ghbdtn,
composed dkssud to 안녕, and paste-corrected dkssudgktpdy to 안녕하세요,
with bind:value tracking; Solid did the same across a live mode switch.

Try-online rows updated in all nine localized READMEs.
@jlc488
jlc488 merged commit dc69069 into main Aug 8, 2026
1 check passed
@jlc488
jlc488 deleted the feature/svelte-solid-examples branch August 8, 2026 09:23
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