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
The evaluator has caching points to prevent unnecessary re-evaluation.
However, when any descendant of a TagTemplate gets re-evaluated; it will cause all of its ancestor TagTemplate to re-evaluate its props unnecessarily.
valglobal=0;componentApp()=>(<divcolor={global+1}> // props of the parent gets re-evaluated if there's any change to any of it's descendant
<div><textvalue={"Hello"}/> // if this tag changes, all of its parent's props will be re-evaluated
</div></div>)
The text was updated successfully, but these errors were encountered:
The evaluator has caching points to prevent unnecessary re-evaluation.
However, when any descendant of a
TagTemplate
gets re-evaluated; it will cause all of its ancestorTagTemplate
to re-evaluate its props unnecessarily.The text was updated successfully, but these errors were encountered: