Detect when the user asks the system to reduce motion.
This is custom React hooks, you need to follow the Basic Rules when you use it.
Turn on reduced motion in the system settings to see it change.
const useReducedMotion = () => boolean