Skip to content

Commit

Permalink
updateDerive inside requestAnimationFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Nov 11, 2024
1 parent 7e45869 commit 6ce60a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bau/bau.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export default function Bau(input) {
}
}
}
updateDerive(state);

_window.requestAnimationFrame(() => updateDerive(state));
bindingCleanUp();
};

Expand Down

0 comments on commit 6ce60a6

Please sign in to comment.