Skip to content

Instantly share code, notes, and snippets.

@w3aran
Forked from gaearon/quiz.md
Created October 1, 2016 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save w3aran/e482407dfa1f3658724003a5f45ed534 to your computer and use it in GitHub Desktop.
Save w3aran/e482407dfa1f3658724003a5f45ed534 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