re: A quick explanation on useEffect VIEW POST

re: I just wrote an article the topic: dev.to/samsch_org/effects-are-not-... The purpose of the second argument is to be an optimization feature, not ...

Hey Samuel, thanks that was an interesting read! I'll link to it in my article if thats fine.

I totally agree with you that dependency arguments are meant to be used as a performance tool, not lifecycles. In my post I just used lifecycles as an example on how the different parts of an effect work and how users can replicate lifecycles using them (and the return function).

Give me a few minutes to bring in your article into my post.

Code of Conduct Report abuse