Have you ever been into a situation where you wanted to do something with your state inside useEffect hook but didnât want to put it into a dependency array? react-hooks/exhaustive-deps is an excellent guard when working with primitive values, but as soon as you have an object in the state, it might stay on your way. Let me show you some code, which requires state handling in the way Iâve describe
{{#tags}}- {{label}}
{{/tags}}