QuestionsReactJSOn this pageReactJS QuestionsCore1What is ReactJS?2Why to use virtual DOM?3What is the diff between class vs functional components?4What is a higher order component?5What is JSX?6Why to use `key` prop for list items?7What is the diff between Presentational vs Container components?8Explain a ReactJS lifecycle9What is ReactJS `ref`?10What is the diff between state vs props?11What is the SyntheticEvent in ReactJS?12What are controlled and uncontrolled components?13What is a React.Fragment `</>`?14How to bind methods in JSX callbacks?15What is React Context?16What is the diff Element vs Component?17Explain usage of `this.setState`18When to use a Class over a Function component?Hooks1Explain React Hooks2What rules need to be followed for hooks?3How to use `useDeferredValue` hook?4What is `useEffect` hook?5What is the diff `useState` vs `useRef`?6What is the diff between `useMemo` vs `useCallback` hooks?Misc1How to use `innerHTML` in React?2How to update a component every second?3What are error boundaries in React?4What is React Fiber?5What is React lazy function?6What are portals in React?7What is React Router?8What is Redux?9What are the diff `redux-saga` vs `redux-thunk`?10How can you optimize performance in a ReactJS app?