Comment Comment by pg_bot I would argue that writing a React component with a hook is a mistake. There is usually an easier/clearer way to solve the problems that hooks are intended to solve with the existing React primitives. parent pg_bot 6 years ago