next-tick schedules a callback to be executed after the next DOM update, ensuring actions occur post-rendering.