DEV Community

Discussion on: How to mimic componentDidUpdate() with React Hooks

 
shiraze profile image
shiraze

I like that, primarily because what I had wasn't a "component" as such, but some sort of rule. This is certainly cleaner code. Thanks!