You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Align option names in useDoubleClick, useList, useMap and useSet #535
useDoubleClick takes click and doubleClick, while every other callback option starts with on, including onClick in useLongPress. useList, useMap and useSet name their first parameter initialState, while useBooleanState, useCounter, useInputState and useToggle use initialValue.
useDoubleClick: click → onClick, doubleClick → onDoubleClick, and delay → delayMs. These are option keys, so this breaks existing code. Shipping them together lets users migrate once.
useList, useMap and useSet: initialState → initialValue. It is a positional parameter, so only types and docs change.
Activity
Antoliny0919 commentedon Sep 30, 2026
can i work on it 😁 ?
mnxmnz commentedon Oct 6, 2026
Landed in
v1-basevia #549 🙌