Skip to content

Instantly share code, notes, and snippets.

@mgmgpyaesonewin
Created January 18, 2018 10:32
Show Gist options
  • Save mgmgpyaesonewin/3653934ce3c5422ba8e0efd68ccccb32 to your computer and use it in GitHub Desktop.
Save mgmgpyaesonewin/3653934ce3c5422ba8e0efd68ccccb32 to your computer and use it in GitHub Desktop.
  • A top-level container renders the rest of the component tree.
  • That container holds child presentational components, as well as other containers which in turn hold presentational components.
  • Containers are responsible for getting data from state and updating internal state in response to user interaction.
  • Presentational components are responsible for receiving data from their parents to display and alerting their parents when a user-triggered change needs to be made via the DDAU pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment