# ReactLynxUse v0.2.2 > A React-style hooks library designed specifically for ReactLynx ## Guide - [Events](/events/README.md): "Events Hooks" provide powerful abstractions for handling Lynx events. - [useEventListener](/events/useEventListener.md): A hook that helps you add a global event listener as early as possible. - [useExposureForNode](/events/useExposureForNode.md): Node-level exposure hook with optional admission gating. - [useExposureForPage](/events/useExposureForPage.md): Page-level exposure hook that consumes GlobalEventEmitter events and manages multiple items with admission gating. - [useStayTime](/events/useStayTime.md): Track how long an element stays visible, with optional manual control. - [Lifecycle](/lifecycles/README.md): Credit: Documentation based on react-use "Lifecycle Hooks" modify and extend built-in React hooks or imitate React Class component lifecycle patterns. - [useEffectOnce](/lifecycles/useEffectOnce.md): Credit: Re-export from react-use React lifecycle hook that runs an effect only once. - [useLifecycles](/lifecycles/useLifecycles.md): Credit: Re-export from react-use React lifecycle hook that call mount and unmount callbacks, when component is mounted and un-mounted, respectively. - [useMountedState](/lifecycles/useMountedState.md): Credit: Re-export from react-use NOTE!: despite having State in its name this hook does not cause component re-render.This component designed to be used to avoid state updates on unmounted components. Lifecycle hook providing ability to check component's mount state.Returns a function that will return true if component mounted and false otherwise. - [useUnmount](/lifecycles/useUnmount.md): Credit: Re-export from react-use React lifecycle hook that calls a function when the component will unmount. Use useLifecycles if you need both a mount and unmount function. - [useUnmountPromise](/lifecycles/useUnmountPromise.md): Credit: Re-export from react-use A life-cycle hook that provides a higher order promise that does not resolve if component un-mounts. - [useUpdateEffect](/lifecycles/useUpdateEffect.md): Credit: Re-export from react-use React effect hook that ignores the first invocation (e.g. on mount). The signature is exactly the same as the useEffect hook. - [Main Thread Script (MTS)](/mts/README.md): "MTS Hooks" unleash the power of Lynx's Main Thread Script. - [useMainThreadImperativeHandle](/mts/useMainThreadImperativeHandle.md): A Hook for exposing imperative handles to parent components on the main-thread. This is the main-thread version of React's useImperativeHandle, allowing you to trigger component methods that run on the main-thread. - [usePointerEvent](/mts/usePointerEvent.md): A Hook unifies TouchEvent and MouseEvent into PointerEvent, to help with handling pointer events in a cross-platform manner. - [useTapLock](/mts/useTapLock.md): A Hook for locking tap events when tap movement exceeds a specified threshold in a given direction. - [useTouchEmulation](/mts/useTouchEmulation.md): A Hook synthesizes TouchEvent from MouseEvent, so existing touch handlers can work seamlessly with mouse input. Useful for migration from touch-only code. - [useVelocity](/mts/useVelocity.md): A hook that tracks touch velocity and direction with smoothing support. - [Side Effects](/side-effects/README.md): Credit: Documentation based on react-use "Side-effect Hooks" allow your app trigger various side-effects using browser's API. - [useDebounce](/side-effects/useDebounce.md): Credit: Re-export from react-use React hook that delays invoking a function until after wait milliseconds have elapsed since the last time the debounced function was invoked. The third argument is the array of values that the debounce depends on, in the same manner as useEffect. The debounce timeout will start when one of the values changes. - [useError](/side-effects/useError.md): Credit: Re-export from react-use React side-effect hook that returns an error dispatcher. - [useThrottle](/side-effects/useThrottle.md): Credit: Re-export from react-use React hooks that throttle. - [useThrottleFn](/side-effects/useThrottleFn.md): Credit: Re-export from react-use React hooks that throttle. - [State](/state/README.md): Credit: Documentation based on react-use "State Hooks" allow you to easily manage state of booleans, arrays, and maps. - [createMemo](/state/createMemo.md): Credit: Re-export from react-use Hook factory, receives a function to be memoized, returns a memoized React hook, which receives the same arguments and returns the same result as the original function. - [useBoolean](/state/useBoolean.md): Credit: Re-export from react-use React state hook that tracks value of a boolean. useBoolean is an alias for useToggle. - [useCounter](/state/useCounter.md): Credit: Re-export from react-use React state hook that tracks a numeric value. - [useDefault](/state/useDefault.md): Credit: Re-export from react-use React state hook that returns the default value when state is null or undefined. - [useImmer](/state/useImmer.md): Credit: Inspired by use-immer Manage complex nested state with ease using immer. Think of useImmer as useState but supercharged: you can modify state directly (like state.count++) without worrying about immutability rules. Learn more about Immer: https://github.com/immerjs/immer - [useLatest](/state/useLatest.md): Credit: Re-export from react-use React state hook that returns the latest state as described in the React hooks FAQ. This is mostly useful to get access to the latest value of some props or state inside an asynchronous callback, instead of that value at the time the callback was created from. - [useMap](/state/useMap.md): Credit: Re-export from react-use React state hook that tracks a value of an object. - [useNumber](/state/useNumber.md): Credit: Re-export from react-use React state hook that tracks a numeric value. useNumber is an alias for useCounter. - [usePrevious](/state/usePrevious.md): Credit: Re-export from react-use React state hook that returns the previous state as described in the React hooks FAQ. - [useQueue](/state/useQueue.md): Credit: Re-export from react-use React state hook implements simple FIFO queue. - [useSet](/state/useSet.md): Credit: Re-export from react-use React state hook that tracks a Set. - [useSetState](/state/useSetState.md): Credit: Re-export from react-use React state hook that creates setState method which works similar to how this.setState works in class components—it merges object changes into current state. - [useToggle](/state/useToggle.md): Credit: Re-export from react-use React state hook that tracks value of a boolean. - [useUniqueId](/state/useUniqueId.md): React hook that generates a unique ID. The ID is stable across re-renders. ## Contributing - [Contributing](/contributing.md) ## Other - [Guide](/guide.md) - [List](/list/README.md): "List Hooks" provide powerful abstractions for handling Lynx list events - [useListScrollEvent](/list/useListScrollEvent.md): A Hook for handling List scroll events, with support for filtering non-user-triggered scroll events. - [Overview](/overview.md)