React Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class. - from
reactjs.org
React Hooks with TypeScript
🔗 https://blog.usejournal.com/using-react-hooks-with-typescript-aae6c7b2a3a9
🔗 https://react-hooks-typescript.now.sh/
🔗 https://github.com/ericwdq/react-hooks-typescript-example
Code sandbox live demo:
🔗 https://codesandbox.io/s/github/skovy/react-hooks-typescript-example
🔗 How to Use Typescript with React and Redux
https://medium.com/@rossbulat/how-to-use-typescript-with-react-and-redux-a118b1e02b76
UseState
UseEffect
UseReducer
UseContext
Typescript:
https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html