Skip to content

Instantly share code, notes, and snippets.

@linclark
Created November 11, 2016 19:46
Show Gist options
  • Save linclark/6874840b6fc8a2828c4e4263351fce2e to your computer and use it in GitHub Desktop.
Save linclark/6874840b6fc8a2828c4e4263351fce2e to your computer and use it in GitHub Desktop.
virtual-dom-step-by-step: ReactDOM.render
const element = React.createElement(List, {});
const container = document.getElementById("app");
ReactDOM.render(element, container);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment