badeggg

Results 2 comments of badeggg

How do you think of `const [state, setState, stateRef] = useState();`? Inspired by https://github.com/facebook/react/issues/21931 . No need to add new hook and still no break change. And I think `useCallbackRef`...