UXP
search
⌘Ctrlk
UXP
  • Getting Started
    • Setup Development Environment
    • Migration Setup
    • Create Your First View
    • Add Navigation and Validate
  • Understanding V5
    • V5 Architecture
    • Configuration Reference
  • Building Apps
    • Core UXP Components
    • Data Fetching
    • Events and Synchronization
    • External Components
    • Pluggable Views
  • Styling & Localization
    • Styling and Theming
    • Localization
  • Deployment
    • Build and Deploy
  • Best Practices
    • Best Practices
  • Introduction
    • Welcome
    • Understanding the Portal
    • Getting Started
  • Widget Development
    • Releasesarrow-up-right
    • Interface Types
    • Interface Guidelines
  • Integration
    • Interacting with Lucy
  • Styling
    • Interface Guidelines
    • Custom Styles and CSS
  • Publishing
    • Publishing your UIs
  • Tools
    • lucy-xp CLI
  • Additional Resources
    • UXP Releasesarrow-up-right
    • GitHub Repositoryarrow-up-right
    • Supportarrow-up-right
    • Components
    • Hooks
      • useAddOns
      • useAlert
      • useCounter
      • useDebounce
      • useDeleteAction
      • useDrawerItems
      • useEffectWithPolling
      • useEventSubscriber
      • useExecuteRequest
      • useExecuteRequestCallback
      • useFields
      • useFormatters
      • useHasChanged
      • useIsFAIconReady
      • useIsPHIconReady
      • useMessageBus
      • useMultiEventSubscriber
      • useNavigateWrapper
      • usePluggableView
      • useResizeEffect
      • useRouterContext
      • useSearchParams
      • useToast
      • useUXPContext
      • useUpdateWidgetProps
      • useWidgetCache
      • useWidgets
    • Types
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Additional Resourceschevron-right
  2. Hooks

useWidgetCache

Low-level hook for managing widget/UI cache with localStorage persistence Single source of truth for widget data across the application

hashtag
Installation

import { useWidgetCache } from 'uxp/components';

hashtag
Signature

function useWidgetCache(options?: UseWidgetCacheOptions): UseWidgetCacheReturn

hashtag
Related Types

  • UseWidgetCacheOptions

  • UseWidgetCacheReturn

  • IWidget

  • IWidgetConfigs

  • DynamicFormFieldProps

  • FormValue

  • IFormData

  • CustomValidateResponse

  • FormSectionProps

  • IConfigPanelProps

  • IContextProvider

  • IPartialContextProvider

  • Language

  • ICustomThemes

  • IThemeProps

  • ThemeType

  • UserDetails

  • NavigationLink

  • Routes

  • ConfiguredPage

  • ComponentType

  • IUXPFunctions

  • ViewOverride

  • Environment

  • ExecutionOptions

  • CachingOptions

  • IDataFunction

  • QueryParams

  • ExecutionResult

  • ExecuteMicroserviceConfig

  • ExecuteConfigBase

  • LucyQueryResult

  • IWidgetPreloader

  • IRenderUIItemProps

  • WidgetCategory

PrevioususeUpdateWidgetPropschevron-leftNextuseWidgetschevron-right

Last updated 1 month ago

  • Installation
  • Signature
  • Related Types