pulse-framework / pulse

✨ Pulse is a global state and logic framework for reactive Typescript & Javascript applications. Supporting frameworks like VueJS, React and React Native.

Home Page:https://pulsejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FIX REMOVE

jack-douglas opened this issue · comments

When trying to remove data from a group collection.remove(id, 'group') just does not work

Remove does work, (you were trying to remove from the wrong group, as we debugged)

However here's some things to note that came to my attention while debugging:

  • removing from a dynamic group errors, something to do with the dependency graph
  • move() does the same as remove() if you don't define a destination
  • remove() without a group specified should remove from all groups
  • delete() exists and does exactly that