Skip to content

Instantly share code, notes, and snippets.

@danielneal
Last active May 15, 2017 09:07
Show Gist options
  • Save danielneal/f7a8a8b4d15a72c2d76cf18c3e8d8fc2 to your computer and use it in GitHub Desktop.
Save danielneal/f7a8a8b4d15a72c2d76cf18c3e8d8fc2 to your computer and use it in GitHub Desktop.
+-----------------------+--------------------------------+-----------------------+---------------------------------+-------------------------+
| \ To | Reagent Component | Reagent Hiccup Vector | React Component | React Element |
| From \ | | | | |
|-----------------------+--------------------------------+-----------------------+---------------------------------+-------------------------|
| Reagent Component | identity | | reagent.core/reactify-component | |
|-----------------------+--------------------------------+-----------------------+---------------------------------+-------------------------|
| Reagent Hiccup Vector | | identity | | reagent.core/as-element |
|-----------------------+--------------------------------+-----------------------+---------------------------------+-------------------------|
| React Component | reagent.core/adapt-react-class | | identity | React.createElement() |
|-----------------------+--------------------------------+-----------------------+---------------------------------+-------------------------|
| React Element | | | | identity |
+-----------------------+--------------------------------+-----------------------+---------------------------------+-------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment