My Library Docs

Multi-root Sidebar

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

Storage Utilities

Check if named state is saved and retrieve actual storage and saved key information.


hasRxState

Specify name and storage options to check if a value exists at that location as a boolean.

ts
findRxStateStorages

If only the name is provided, it returns an array of actual storage backends without duplicates. Values saved as auto will also return as the actual selected backend.

ts
getRxStateStorageInfo

Always returns confirmed storage locations as an array. If the same name exists in multiple storages or different name/storeName/keyPrefix settings, each will be returned as a separate item. You can pass storage options as the second argument to query under those conditions.

ts
ts

storageKey is the item key passed to storage, and fullKey is the complete key that can be checked in backends exposing flat keys like localStorage. The storage will return the actual backend, not auto.

Actual operation test

You can save the same test key in multiple storages using the button below and immediately check the return values of the three APIs.

Save test value

After saving the same name in multiple storages, you can check the actual return values of the three utilities.


Lookup storage
Not executed yet.
Reducer storage utilities

Reducer also provides hasRxReducer, findRxReducerStorages, and getRxReducerStorageInfo in the same way.

ts
© 2026 Byeolnaerim. All rights reserved.IntroductionPrivacy Policy