{"version":"1.0","type":"rich","title":"Repeater triggers the onRepeat event multiple times at the speed interval.","description":"This example demonstrates how a React `Repeater` component triggers its `onRepeat` callback repeatedly at a fixed `speed` interval, simulating a continuous animation loop. The component uses React’s `useEffect` hook to set up a `setInterval` that fires `onRepeat` at the specified millisecond rate, while respecting a `disabled` prop and an optional `emitFirst` flag that triggers the callback once immediately. It renders no visible output, serving purely as a timing utility. The example shows the `Repeater` API in action, where the interval is cleared on unmount or when dependencies change.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-4cbbf941db215b6eb25170fab387ac7f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}