v0.2.5
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)
- Replaced microtask-based (
Migration
No breaking changes. This is a drop-in upgrade — controlled inputs with CJK IME will now work correctly without needing onCompositionStart/onCompositionEnd workarounds.