Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atellmer committed Mar 12, 2024
1 parent a3b471d commit dfceee2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion next/sierpinski-triangle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ <h1>Dark Sierpinski Triangle</h1>
<b>concurrent</b> mode. In this triangle, each group of 3 points is artificially slowed down (see code) so as to
cause freezes if using synchronous rendering. In the case of <b>concurrent</b> rendering, the animation is
smooth and the counter is updated, hover effect (uses render, not css) remains responsive, even if you also
artificially slow down the execution through the performance tab (probably it will take more time).</p>
artificially slow down the execution through <b>the performance tab (6x slowdown)</b>.
</p>
<p>On slower devices the counter will not update, but the animation and hover will be smooth because it takes
precedence in this example.</p>
<p>This behavior is achieved without using requestIdleCallback or any other web api, so <b>concurrent</b> mode can
be used on any dynamic platforms.</p>
<p>Compare it with <a href="https://claudiopro.github.io/react-fiber-vs-stack-demo/fiber.html" target="_blank"
rel="noopener">React Fiber
version</a></p>
</div>
</div>
<div id="root"></div>
Expand Down

0 comments on commit dfceee2

Please sign in to comment.