Skip to content

feat(query): clearing data after unset listener  #150

Open
@apietrzak

Description

Do you want to request a feature or report a bug?
bug

What is the current behavior?
If i want to change a document listener to another id, then previous data is still existing until new data is received.

What is the expected behavior?
After removing the listener, the data connected to that listener should be removed.

Which versions of dependencies, and which browser are affected by this issue? Did this work in previous versions or setups?
Newest

Steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.

[
    {
        collection: 'collections',
        doc: props.collectionId,  // data from my reducer. If this id is changed then previous data is still existing
        storeAs: 'collection'
    }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions