props library
Provides the useDvaProps hook for accessing Dva Props without subscribing to Store state changes.
This hook is useful when you only need dispatch capabilities and navigation history without triggering widget rebuilds on state changes.
Functions
-
useDvaProps(
{String? namespace}) → Props -
A hook that retrieves only the
Propsinstance from the Dva Store.