UNPKG

react-native-onyx

Version:

State management for React Native

7 lines (6 loc) 273 B
/** * Creates a mutable reference to a value, useful when you need to * maintain a reference to a value that may change over time without triggering re-renders. */ declare function useLiveRef<T>(value: T): import("react").MutableRefObject<T>; export default useLiveRef;