Chapter 1

  1. What is a declarative UI structure and how does React support this idea?
    1. 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.
  2. How does React improve rendering performance?
    1. 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.
  3. When would you render a fragment?
    1. Fragments are used to avoid having to render unnecessary DOM elements
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.13.201