- What are the differences between useEffect and useLayoutEffect hooks?
- What are the differences between Functional and Class Components?
- What is strict mode in React?
- What is the benefit of strict mode?
- Why does strict mode render twice in React?
- What are the rules of JSX?
- What is the reason behind multiple JSX tags to be wrapped? Behind the scenes, JSX is transformed into plain javascript objects. It is not possible to return two or more objects from a function without wrapping into an array. This is the reason you can’t simply return two or more JSX tags from a function without wrapping them into a single parent tag or a Fragment.