diff --git a/examples/state.tsx b/examples/state.tsx index d88e54050..712d3b867 100644 --- a/examples/state.tsx +++ b/examples/state.tsx @@ -6,7 +6,6 @@ export function Example() { const state = React.useRef(undefined) const [key, setKey] = React.useState(0) - console.log('Rendering with key', key) return (
+ { + skipFrames(4, () => { u.handleNext(scrollTop, () => { u.publish(scrolledToInitialItem, true) })