Is there any alternative to just keeping a \"clock\" in the background to implement auto-next (after a few seconds) in carousel using react hooks?
The custom react hook
You could use useTimeout hook that returns true after specified number of milliseconds.
useTimeout
true