react-use-previous
$ yarn add @radix-ui/react-use-previous # or $ npm install @radix-ui/react-use-previous
This is an internal utility, not intended for public usage.