store library
Provides the useDvaStore hook for accessing the Dva Store instance without subscribing to state changes.
This hook is useful when you only need direct access to the Store's root state or want to manually manage subscriptions.
Functions
-
useDvaStore(
) → Store -
A hook that retrieves the
Storeinstance from the Dva Provider.