Return the value from before the latest change, so you can compare it with the current one, for example to animate a change or detect a direction.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-previous.json"