Closed guifsdev closed 1 year ago
@guifsdev if you create a new instance, it should work well. i'm not sure what you mean by "re instantiating" ? data attributes are only read when creating the instance. if you change them, simply dispose/create it and you should be fine.
or use setConfig
in the current way it's built, data attributes are not meant to be reactive. Maybe something nice for a future version or a custom element or something ;-)
Hi, I'm having one more issue:
Updating
liveServer
viadataLiveServer
option has no effect even when re-instantiating the object. For context, I'm using this when the component is mounted and/ordataLiveServer
prop changes:Component will remain completing or not completing results based on the initial state of
liveServer
option. I guess all options should be reactive.