useData support
import { define, render } from 'omi'
define('my-counter', function() {
const [count, setCount] = this.useData(0)
return (
<div>
<button onClick={() => setCount(count - 1)}>-</button>
<span>{count}</span>
<button onClick={() => setCount(count + 1)}>+</button>
</div>
)
})
render(<my-counter />, 'body')