I want to preface this critique by saying I think that hooks are not all bad. If I were starting a new react…