UNPKG

@winglet/react-utils

Version:

React utility library providing custom hooks, higher-order components (HOCs), and utility functions to enhance React application development with improved reusability and functionality

9 lines (6 loc) 226 B
import { useSnapshotReference } from './useSnapshotReference.mjs'; const useSnapshot = (input, omit) => { const snapshotRef = useSnapshotReference(input, omit); return snapshotRef.current; }; export { useSnapshot };