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
I’d love to see is libraries and frameworks adopting a Progressive Booting model, especially as we ship more code to our users. Not every component is special, and the developer should be given controls to decide how booting happens!
This is especially true if you use a web framework or virtual DOM library that manages component re-rendering in response to state changes. Many of these libraries define component lifecycle methods that all get run synchronously whenever there’s a change. For an app with a lot of components, this can easily be thousands of function calls.
While the requirements are pretty steep for a runtime that has a component model as its atomic unit, the signals and computed properties you guys showed me seemed like they could very cleanly implement this strategy in Marko. In particular, this quote of his:
The reality is that initializing each component in its own task is usually not sufficient and oftentimes not even possible. What’s usually needed is breaking up tasks within each component being initialized.
Is this something you're interested in working on?
Yes
The text was updated successfully, but these errors were encountered:
package-name
fluurt, I guess?
Description
Possible Implementation & Open Questions
Hook into
requestIdleCallback
, orrequestAnimationFrame
with some delta for the browsers that don’t have it.But that’s the boring, easy thing. The interesting thing could be something like Mr. Walton describes in Idle Until Urgent:
While the requirements are pretty steep for a runtime that has a component model as its atomic unit, the signals and computed properties you guys showed me seemed like they could very cleanly implement this strategy in Marko. In particular, this quote of his:
Is this something you're interested in working on?
Yes
The text was updated successfully, but these errors were encountered: