Hi all - I’m finally upgrading an application from (flow) v23 to v24 and we’ve got some components that had used polymer 3 Elements and now have to be ported to Lit-Element. For the most part, it has been straightforward, but the old code used requestUpdateInternal and I’m having difficulty figuring out what to do here.
For instance, I see code like the following in the component that
set _stuff(newValue) {
const oldValue = this._stuff;
this.__stuff = newValue;
if (oldValue !== newValue) {
this._stuffChanged(newValue, oldValue);
this.requestUpdateInternal(
"_stuff",
oldValue,
this.constructor.properties._stuff
);
}
}
Oh, and the code in question is still javascript rather than typescript.
Suggestions?