🧑🏻💻 FIND ME HERE
Instagram: / alexvazgtz
Facebook: / alexvazgtz
GitHub: https://github.com/VazquezAlex
LinkedIn: / alejandro-vaz
In this video, we'll see what complex states are and how they can help you better declare your states, making it easier to implement custom hooks.
A complex state, or an object-type state, allows us to declare everything within a state and mutate it when we want to make a change, even if we're only modifying one of its properties. This makes it easier to import, export, and add new properties to these states.