• Docs
  • Donate
  • Github
  • EN/IT
wompo@2.0.2
  • Introduction
  • Installation
  • Guides
    • Quick start
    • Complex Example
    • Styling
    • Custom hooks
  • Hooks
    • useAsync
    • useCallback
    • useContext
    • useEffect
    • useExposed
    • useHook
    • useId
    • useLayoutEffect
    • useMemo
    • useReducer
    • useRef
    • useSelf
    • useState
  • Components
    • Suspense
  • APIs
    • attrs
    • createContext
    • createPortal
    • defineWompo
    • Dynamic Tags
    • Element API
    • html
    • lazy
    • registeredComponents
    • unsafelyRenderString
    • wompDefaultOptions
  • Typescript
  • SSR

registeredComponents

How to get the collection of the components registered in the browser.


Description

The registeredComponent constant is an object exported by the Wompo library that contains the names of the registered Web Components as keys, and their corresponding functional Component as a value (not the generated HTML class).

This object is supposed to be read-only.

lazy API - Wompo APIs

Use lazy to split component code and render dynamically imported components with Suspense.

unsafelyRenderString API - Wompo APIs

Learn how you can avoid Wompo's automatic HTML escaping.

On this page

  • Description
Wompo

©2026

  • Learn
  • Introduction
  • Installation
  • Hooks
  • APIs
  • Guides
  • Quick Start
  • Complex example
  • Styling
  • Custom Hooks
  • Privacy
  • Privacy Policy
  • Cookie Policy
  • Contribute
  • Github
  • Donate