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
Currently previousValue is used in the individual _render helpers, but set globally in the render function. It doesn't work as intended for _renderPrimitive, and there are some other issues. It would also be nice if render itself could exit early if it detects no value change.
Probably the way to go is checking for TemplateResult and Iterable first, then having a single guard for value === previousValue for the other render types. The main complexity is figuring out a correct solution for _renderPromise.
The text was updated successfully, but these errors were encountered:
Currently
previousValue
is used in the individual_render
helpers, but set globally in therender
function. It doesn't work as intended for_renderPrimitive
, and there are some other issues. It would also be nice ifrender
itself could exit early if it detects no value change.Probably the way to go is checking for TemplateResult and Iterable first, then having a single guard for
value === previousValue
for the other render types. The main complexity is figuring out a correct solution for_renderPromise
.The text was updated successfully, but these errors were encountered: