Created
October 17, 2018 07:46
-
-
Save lukewatts/2af5ac4f18de27ef8d0fc17bbc2a2a33 to your computer and use it in GitHub Desktop.
Medium Article - Use JSX with any MV* framework - Code Snippets - 15 - Test Component with Reactbone
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 Reactbone, { Component } from './Reactbone'; | |
class Test extends Component | |
{ | |
constructor() | |
{ | |
super(); | |
this.view(document.getElementById('app')); | |
} | |
render() | |
{ | |
return ( | |
<h1>Testing Reactbone!</h1> | |
); | |
} | |
} | |
new Test; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment