You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: