WebMobi Interview Question

Store a state in react using React Hooks.