DEV Community

Discussion on: React Hooks in 5 Minutes

 
jh3y profile image
Jhey Tompkins

Yeah, definitely ๐Ÿ‘ But it seems to be discouraged if the effect in question makes use of props + state in the component's scope.