HackerTrans
TopNewTrendsCommentsPastAskShowJobs

penguibird

no profile record

comments

penguibird
·w zeszłym roku·discuss
When I saw the setState in useEffect, I immediately knew why the person hates react. That's a horrible antipattern used by people who refuse to read the few articles about useEffect and when to use it.
penguibird
·w zeszłym roku·discuss
Context is pretty much DI, but it works with the component tree - I can wrap different subtrees in different providers. This is much more powerful than angular style dependency injection and there have been several times where I was really grateful for it.