The effect function to run. Can optionally return a cleanup function which is called before effect function is called again and on effect destruction.
The effect function to run. Can optionally return a cleanup function which is called before effect function is called again and on effect destruction.