Allows you to add state to your functional components. The useState Hook returns an array with two elements: the current state value and a function to update the state.
import { useState } from 'react'
const [ data , setData ] = useState ( init )