connect library
Provides the useDvaConnect hook for connecting widgets to the Dva Store.
This module enables widgets to subscribe to Store state changes and automatically rebuild when specified state changes occur. It supports namespace filtering, custom state mapping, and custom update strategies.
Classes
- DvaConnect
- Represents the return value of useDvaConnect.
Functions
-
useDvaConnect(
{String? namespace, List< String> ? listenKeys, MapState? mapState, ShouldUpdate? shouldUpdate, VoidCallback? didMounted}) → DvaConnect - A hook that connects a widget to the Dva Store.