Added extra verbiage about the non-deterministic jumping of tasks to make it more clear.

This commit is contained in:
Aaron Rosenzweig
2025-10-08 00:01:06 -04:00
parent bf9d6d2e56
commit 16433ed250

View File

@@ -86,7 +86,7 @@ Your app should look like this:
<img width="200px" src="/tutorials/blaze/assets/step04-checkbox.png"/>
If your computer is fast enough, it's possible that when it sets up the default tasks a few will have the same date. That will cause them to non-deterministically "jump around" in the UI. To make it stable, you can add a secondary sort on the `_id` of the task:
If your computer is fast enough, it's possible that when it sets up the default tasks a few will have the same date. That will cause them to non-deterministically "jump around" in the UI as you toggle checkboxes and the UI reactively updates. To make it stable, you can add a secondary sort on the `_id` of the task:
::: code-group