Guest User

Untitled

a guest
Oct 19th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. Object.defineProperty(Element.protoype, 'reactChildren', {
  2. set(children) {
  3. ReactDOM.render(children, this);
  4. }
  5. });
  6.  
  7. document.body.reactChildren = <MyApp/>;
Add Comment
Please, Sign In to add comment