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
It seems we could explore different way to sync DOM with our state.
Instead of tags revalidation, we could explicitly mark "invalid" tags and resolve related opcodes to it.
current glimmer-vm tag invalidation approach: dirtryTag -> scheduleRerender -> validate all existing tags in application -> iterate over all opcodes and if changed -> execute
approach in issue: dirtyTag -> scheduleRerender -> getOpcodesForTag(tag) -> execute
The text was updated successfully, but these errors were encountered:
lifeart
changed the title
Re-review REVISION approach.
Re-review DOM sync approach.
Dec 26, 2023
It seems we could explore different way to sync DOM with our state.
Instead of tags revalidation, we could explicitly mark "invalid" tags and resolve related opcodes to it.
Here is sample implementation concept: https://codepen.io/lifeart/pen/abMzEZm?editors=0110
Includes:
Tldr:
current glimmer-vm tag invalidation approach:
dirtryTag -> scheduleRerender -> validate all existing tags in application -> iterate over all opcodes and if changed -> execute
approach in issue:
dirtyTag -> scheduleRerender -> getOpcodesForTag(tag) -> execute
The text was updated successfully, but these errors were encountered: