Skip to content

Instantly share code, notes, and snippets.

@halvves
Forked from gaearon/quiz.md
Created September 29, 2016 06:18
Show Gist options
  • Save halvves/36376c1e2605a038239435b2546648c5 to your computer and use it in GitHub Desktop.
Save halvves/36376c1e2605a038239435b2546648c5 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?


I will post the correct answers tomorrow in this gist. If you’d like to give it a try, post your answers below in a comment!

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