nanostores/query

Feature Request: `invalidate()` in mutatorStore doesn't accept a key matcher function

Bwvolleyball opened this issue · 2 comments

The invalidate() function from the createMutatorStore concept doesn't seem to accept anything but a string - can it accept a key matcher function as well similar to the invalidateKeys() function?

dkzlv commented

@Bwvolleyball Yeah, sure. Added in 0.2.3, here's a demo. Thanks for your issue!

Thanks for the quick turnaround @dkzlv ! We're loving this project as we get the hang of it!