Closed kabus202 closed 3 years ago
You cant use hooks with react class components. However, you can create other function components to call the hooks to call these for the class component https://infinum.com/the-capsized-eight/how-to-use-react-hooks-in-class-components
I was wondering how to access the createHook method within a class component for example in componentDidMount() ?