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

need propsupdated hook #4

Closed
ged-odoo opened this issue Mar 31, 2019 · 1 comment
Closed

need propsupdated hook #4

ged-odoo opened this issue Mar 31, 2019 · 1 comment

Comments

@ged-odoo
Copy link
Contributor

Use case: some widget that needs to setup something in its mounted hook depending on props (for example, playground app tabbededitor widget with ace editor).

In that case, we want to update the ace editor value when props are changed. However, if we use the updateProps method as a hook, we need to remember to return a value, otherwise, we will get a cryptic error.

@ged-odoo
Copy link
Contributor Author

ged-odoo commented Apr 1, 2019

fixed by 990a08d

@ged-odoo ged-odoo closed this as completed Apr 1, 2019
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

No branches or pull requests

1 participant