useStillnessManager
useStillnessManager
provides access to control the stillness system, and the returned instance object contains access to all stillness states, contracts, etc.
usage
import { useStillnessManager } from 'react-stillness-component';
function Example() {
const stillnessManager = useStillnessManager();
return <div>Example</div>
}
Instance(object)
getStore
: Get the abstract global modeling object-storegetMonitor
: Get the internal listener methodsgetActions
: Get all internal behaviorsdispatch
: call the dispatch method ofredux