store
store copied to clipboard
feat: add ability to pass value to listeners
This PR adds the ability to pass a value to our listeners (optionally) thru our APIs.
This is not really intended to be used by the general public, but rather for our needs internally, IE refactoring the Subscribable
class in TanStack Query:
https://github.com/TanStack/query/pull/6799
This has no breaking changes, and is a purely additive change