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 Props instance from the Dva Store.