Skip to content
Thomas Czogalik edited this page Jun 19, 2019 · 3 revisions
  • create reusable UI components
  • change data, without reloading the page
  • MVC template
  • imposes a strict data flow (components react to state and props change)
  • clearly structure a project (container and functional components)

Testing

shallow()

renders an element, but only one hierarchy level

dive()

renders another level

Clone this wiki locally