- What is a declarative UI structure and how does React support this idea?
- Declarative UI structures define what the UI component is instead of worrying about how it is defined. React supports this idea by allowing components to be declared using JSX syntax.
- How does React improve rendering performance?
- React has a virtual DOM that compares changes made to components' data in memory, avoiding the browser DOM when possible. React 16 has a new internal architecture that allows rendering to be split up into smaller chunks of work and prioritized.
- When would you render a fragment?
- Fragments are used to avoid having to render unnecessary DOM elements