Skip to content

Getters getting triggered on n-dimensional maps #187

Description

@pbeets

Seems like the refactor of reactor now triggers getters whenever a change happens at the root level.

For ex:

export default {
  getter: [['key1', 'key2', 'key3'], item => item]
}

version 1.1.2 and before, will only get triggered when ['key1', 'key2', 'key3'] has changed.

version 1.2.0 the above getter is triggered when anything in ['key1'] changes. This is undesirable as even if key3 has not been set it will still receive and update a bound state with undefined.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions