Skip to content

Details

In this meetup, we will show you how you can utilize React Hooks to make your React code 90% cleaner. Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.

Hooks solve a wide variety of seemingly unconnected problems in React. Whether you’re learning React, use it daily, or even prefer a different library with a similar component model, you might recognize some of these problems :

  • It’s hard to reuse stateful logic between components
  • Complex components become hard to understand
  • Classes confuse both people and machines

To solve these problems, Hooks let you use more of React’s features without classes. Conceptually, React components have always been closer to functions. Hooks embrace functions, but without sacrificing the practical spirit of React. Hooks provide access to imperative escape hatches and don’t require you to learn complex functional or reactive programming techniques.

Learning Resources :

  1. https://reactjs.org/docs/hooks-intro.html
  2. https://egghead.io/courses/simplify-react-apps-with-react-hooks

If you have any questions, you can ask them in our community chatroom : https://chat.coderplex.org

Related topics

You may also like