Use useTransition to mark a slow filtering operation as non-urgent. The UI should remain responsive while the filter runs in the background. Show a "Loading..." indicator while the transition is pending.
Click Run to test your code