React JS - Hooks

  • Hooks was introduced in React 16.8.

  • To use Life Cycle Methods in Functional Components, we use Hooks.

  • Hooks are functions.

  • React provides built-in Hooks like : useEffect, useState, etc.

  • All Hooks start with prefix "use" like useEffect, useState, etc.


Comments