Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding issue with properties and functional widgets #563

Closed
rorticus opened this issue Oct 22, 2019 · 0 comments · Fixed by #564
Closed

Binding issue with properties and functional widgets #563

rorticus opened this issue Oct 22, 2019 · 0 comments · Fixed by #564

Comments

@rorticus
Copy link
Contributor

Bug

It looks like properties() calls are binding to an old version of the method and not the latest version. properties() should always return the latest copy of the properties.

Package Version: 6.0.1

Code

https://codesandbox.io/s/dojo-codesandbox-template-0wfis

In this example, click on "Increment value", then "Click me"

Expected behavior:

The value "11" would be printed to the console (the latest properties)

Actual behavior:

The value "1" is printed to the console (the original properties)

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 a pull request may close this issue.

1 participant