79654936

Date: 2025-06-05 17:19:41
Score: 0.5
Natty:
Report link

Yup, I think this is a recommended use of useTransition in Next JS. You're improving the UX by giving instant feedback with setActiveTab, showing a loading spinner using isPending and avoiding a UI freeze during router.push. Can't think of anything wrong with it IMO.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Toye KB