How to call react custom hook that return a value inside useEffect? – Javascript
I have a custom hook that returns a value by parameters that it gets. I need to recreate this with any updated parameter so I need to do that inside useEffect but I can't call the hook inside useEffect. How…