Jinntec / Fore

Fore - declarative user interfaces in plain HTML
MIT License
82 stars 11 forks source link

Wait for construct done #169

Closed DrRataplan closed 1 year ago

DrRataplan commented 1 year ago

This makes events wait for eachother. This causes the initial refresh in the epidoc example run only once, instead of up to 12 times.

Big refactoring with large gains, but please let me test it )and test it yourself) to see any regressions!

Draft PR, to collect feedback!

JoernT commented 1 year ago

still does not work properly with perf.html. The second submission s-load-incription will not run at all.

The insert actions also do not run.

JoernT commented 1 year ago

@DrRataplan did a merge with dev and testing demos...

I pushed that branch 'wait-for-construct-done-merged' for you to examine.

Problems i found:

So there are astonishingly few issues here :)

DrRataplan commented 1 year ago

Hey Joern,

Awesome, good to hear! I'll continue this afternoon with these bugs, and I'll continue on the dependency tracking. Starting with a writedown on the approach!

Thanks!

Op di 6 dec. 2022 om 13:17 schreef Joern Turner @.***>:

@DrRataplan https://github.com/DrRataplan did a merge with dev and testing demos...

I pushed that branch 'wait-for-construct-done-merged' for you to examine.

Problems i found:

  • revalidate.html - alerts not working
  • while.html - last example with repeated while is broken - cant insert new item

So there are astonishingly few issues here :)

— Reply to this email directly, view it on GitHub https://github.com/Jinntec/Fore/pull/169#issuecomment-1339237297, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGKEJAWJABY6MUFSISGEY3WL4VEFANCNFSM6AAAAAARIF3GEE . You are receiving this because you were mentioned.Message ID: @.***>