import JSX from 'dist/index.js'
class Comp {
constructor() {
...
}
handleClick() {
}
render() {
return JSX`
<div className="jsx">
<span>jsx complier</span>
<button onClick=${ (e) => this.handleClick(e) }>click me</button>
</div>
`
}
}-
Notifications
You must be signed in to change notification settings - Fork 0
use jsx in javascript
License
mfuu/jsx-parser
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
use jsx in javascript
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published