@formily-x/reactive-react
v2.3.6
Published
## QuikStart
Downloads
4
Readme
@formily-x/reactive-react
QuikStart
import React from 'react'
import { observable } from '@formily-x/reactive'
import { observer } from '@formily-x/reactive-react'
const obs = observable({
count: 0,
})
export default observer(() => {
return (
<div>
{obs.count}
<button
onClick={() => {
obs.count++
}}
>
Click
</button>
</div>
)
})