vuex-orm / vuex-orm-examples-nuxt

The example Nuxt application to demonstrate the use case of the Vuex ORM.
70 stars 21 forks source link

Adding new items overwrites existing items #6

Closed tomasvanrijsse closed 4 years ago

tomasvanrijsse commented 4 years ago

I am running into an issue in my own project with vuex-orm and cloned this project to see that it has the same issue.

Steps to reproduce 1) I cloned the project 2) run npm run dev 3) click on 'ADD TODO'

ps. Refreshing the page will change the 'database pointer' and make only a few items get overwritten. Refresh again and all items will stay intact. The issue will resurface again after you kill npm and run npm run dev again.

Before before

After after

tomasvanrijsse commented 4 years ago

This issue should have been posted on the vuex-orm project.