Skip to content

v0.2.5

Choose a tag to compare

@Moon-DaeSeung Moon-DaeSeung released this 26 Feb 02:33
· 31 commits to main since this release

Fix

  • fix(proxy): synchronous notification for IME composition support (#48, #49)
    • Replaced microtask-based (Promise.resolve().then()) listener notification with synchronous notification
    • Fixes Korean/Japanese/Chinese IME composition breaking in controlled inputs
    • Fixes cursor jumping to end of input on every keystroke
    • React 18's automatic batching handles grouping multiple synchronous updates, so no performance regression
    • Matches the approach used by Zustand (synchronous by default) and Valtio ({ sync: true } option)

Migration

No breaking changes. This is a drop-in upgrade — controlled inputs with CJK IME will now work correctly without needing onCompositionStart/onCompositionEnd workarounds.