hookstate icon indicating copy to clipboard operation
hookstate copied to clipboard

DevTools label is not applied to global state

Open avkonst opened this issue 4 years ago • 1 comments

avkonst avatar Jun 15 '20 07:06 avkonst

const userState = createState<UserStateData | null>(null)
DevTools(userState).label('user-state') // <--does not make an effect in devtools

avkonst avatar Jun 15 '20 07:06 avkonst

Hookstate 4 requires a user to assign a label explicitly.

avkonst avatar Dec 18 '22 21:12 avkonst