• 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

Built-in components

Wompo exposes some specific built-in components that you can use to improve your application. You are then free to create your owns.


Components

The list of built-in Wompo components are the following:

  • Suspense - Will let you display a fallback UI while the children are stil loading or performinc async operations.

useState - Wompo hooks

The useState hook will save a value across renders without re-initializing a variable.

Suspense - Wompo components

Use Suspense with useAsync and lazy to show loading states for a whole subtree.

On this page

  • Components
Wompo

©2026

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