REACT Toggle - Custom Hook

EMBED

Tue May 09 2023 12:47:44 GMT+0000 (Coordinated Universal Time)

Saved by @rstringa #hooks #custom


Por ejemplo, ┬┐Necesitas manejar un estado true/false?

https://codesandbox.io/s/quirky-glade-brmwg6?file