I'm currently interviewing frontend developers for React jobs. There are a few things I look for:
Maybe a typo, but you can't use hooks in class components. Or maybe you mean making lifecycle methods with hooks in functional components?
I love your second test, that's great.
Indeed, that wasn't clear - what I look for is for candidates to be able to take stateless functional components and implement functionality using hooks. Many immediately convert to class components in order to use lifecycle methods.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.