Skip to content

Instantly share code, notes, and snippets.

@Chryus
Created January 2, 2017 19:42
Show Gist options
  • Save Chryus/043d7d13b079225f639c68cd9f085996 to your computer and use it in GitHub Desktop.
Save Chryus/043d7d13b079225f639c68cd9f085996 to your computer and use it in GitHub Desktop.
Update DOM via ReactDOM render method
ReactDOM.render(
<Avatar user={user_data} />,
document.getElementById('avatar')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment