local-first-web / state

A Redux-based state container for local-first software, offering seamless synchronization using Automerge CRDTs. (Formerly known as 🐟 Cevitxe).
187 stars 10 forks source link

YSOD when clearing all todos #56

Closed HerbCaudill closed 4 years ago

HerbCaudill commented 4 years ago

To reproduce

  1. Run the todo example yarn dev:todo
  2. Create two tasks, 'a' and 'b' and mark them both complete.

image

  1. Press 'Clear completed.' Task list will be empty.

image

  1. Reload. One of the tasks is still there.

image

  1. Add a task 'c'. After a moment the app crashes:

image