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.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

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 1 year ago

Package Health Score

48 / 100
Full package analysis