vue-design-system icon indicating copy to clipboard operation
vue-design-system copied to clipboard

Editing the styleguide HTML does not trigger watchers

Open edwinm opened this issue 6 years ago • 0 comments

In the generated styleguide, it's possible to edit the HTML (with CodeMirror) and see the results when properties and content are changed.

Changing the properties this way does not trigger the watchers. Besides watchers, also beforeUpdate, updated and prop handlers are not called.

This can lead to undesirable side effects.

Solution: make sure the right handlers are called when a property is changed.

edwinm avatar Jan 30 '19 13:01 edwinm