Skip to content

Instantly share code, notes, and snippets.

@gladiatorAsh
Forked from gaearon/quiz.md
Created November 21, 2018 22:55
Show Gist options
  • Save gladiatorAsh/7966c3be73f52bbf967502d78f9eb7c8 to your computer and use it in GitHub Desktop.
Save gladiatorAsh/7966c3be73f52bbf967502d78f9eb7c8 to your computer and use it in GitHub Desktop.

A top-level App component returns <Button /> from its render() method.

  1. What is the relationship between <Button /> and this in that Button’s render()?

  2. Does rendering <Button><Icon /></Button> guarantee that an Icon mounts?

  3. Can the App change anything in the Button output? What and how?


Update: answers are here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment