Getting Started: Fixed that "get next item" just returns first item! (#2198)
Getting Started: Fixed that "get next item" just returns first item! (#2198)

* Getting Started: Fixed that "get next item" just returns first item!

The "getting started" documentation page has the example code just return the first todo, whenever it logs the "next item". Instead, it should search for the first todo item that is not yet completed.

Screenshot of old behavior (which doesn't make sense, in code or in what is displayed):
![](https://i.imgur.com/k2mBPPC.png)

* Safeguarded "next todo" from case of no uncompleted tasks

mobxjs/mobx,mobxjs/mobx,mobxjs/mobx,mweststrate/MOBservable,mobxjs/mobx,mweststrate/MOBservable,mweststrate/MOBservable