Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { useContext, Context, render, h } from 'fre'
function App () {
const context = useContext(Context)
return <main>{context}</main>
}
render(
,
document.body
)
<p align="center">
<img width="180" alt="fre logo" src="http://wx2.sinaimg.cn/mw690/0060lm7Tly1ftpm5b3ihfj3096097aaj.jpg">
</p>
<h1 align="center">Fre</h1>
<h3 align="center">Fast 1kb React-like hooks API js library</h3>
<div class="wrap">
</div>
)
}
render(, document.body)