David Cai
Jun 29, 2021

--

This is great. `use-context-selector` from Dai-shi (one of Zustand's contributors) does similar thing. It is proposed to the React community. Formik v3 uses it. Hopefully, in the future React `useContextSelector` hook will be offically supported.

--

--