Jun 20, 2022
Any component that has a hook in it is not pure (it does not produce the same output given the same input). Sorry, you're just wrong here.
Any component that has a hook in it is not pure (it does not produce the same output given the same input). Sorry, you're just wrong here.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.