| Which of the following is NOT a rule for React Hooks?
Choose the correct option from below list
(1)Hooks cannot be conditional
(2)Hooks can be called in Class or Function components
(3)Hooks can only be called inside React Function components
(4)Hooks can only be called at the top level of a component
Answer:-(2)Hooks can be called in Class or Function components | | |