How to use the fre.useContext function in fre

To help you get started, we’ve selected a few fre examples, based on popular ways it is used in public projects.

github yisar / fre / demo / useContext.js View on Github external
function App () {
  const context = useContext(Context)
  return <main>{context}</main>
}

fre

Tiny Concurrent UI library with Fiber.

MIT
Latest version published 2 months ago

Package Health Score

78 / 100
Full package analysis

Similar packages