react-native-misc

React Native library

This project is maintained by iliubinskii

React Native libraryDocs


React Native library / hooks/useAnimatedReaction / Callbacks

Interface: Callbacks<T>

Type Parameters

T

Properties

prepare()

readonly prepare: () => T

Returns

T

Data.


react()

readonly react: (prepareResult, preparePreviousResult) => void

Reacts to data change.

Parameters

prepareResult: T

Prepare result.

preparePreviousResult: null | T

Prepare previous result.

Returns

void