Skip to content

Specify a property that is used as key for a widget#661

Merged
agubler merged 2 commits intodojo:masterfrom
agubler:automatic-key
Jan 30, 2020
Merged

Specify a property that is used as key for a widget#661
agubler merged 2 commits intodojo:masterfrom
agubler:automatic-key

Conversation

@agubler
Copy link
Member

@agubler agubler commented Jan 30, 2020

Type: feature

The following has been addressed in the PR:

Description:

A chained .key function that enables middleware and widgets to specify property names that are considered "primary keys" to be used as the key for the widget itself. This means that the author a widget can control the when it will be recreated by the Dojo rendering engine based on changes to properties.

Resolves #658

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 30, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 79c7e6a:

Sandbox Source
charming-mountain-ikqzz Configuration

@agubler agubler merged commit cbb3818 into dojo:master Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specify property to be used as the widget key automatically

2 participants