What is the React Component API? React introduced Hooks in version 16.8 which lets users create components that access state without writing class components. This has drawn many developers away from the classic class components. However, Hooks don't replace class components. They simply offer a different method for creating components. In the …