How to use the haunted.useContext function in haunted

To help you get started, we’ve selected a few haunted 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 geocine / web-components-hooks-demo / src / context / shop-context.js View on Github external
function({ render }) {
      const context = useContext(Context);

      return render(context);
    },
    HTMLElement,

haunted

Hooks for web components

BSD-2-Clause
Latest version published 2 years ago

Package Health Score

59 / 100
Full package analysis