Created
July 14, 2017 17:16
-
-
Save tetsuo/31d0e6f0d192acfe34768dbbf1b40793 to your computer and use it in GitHub Desktop.
xus-example-index-4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createElement } from "react" | |
import { observer } from "mobx-react" | |
const tree = render(state, { | |
createElement: createElement, | |
observer: observer | |
}) | |
ReactDOM.render(tree, document.getElementById("main")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment