Skip to content

Conversation

@exyi
Copy link
Member

@exyi exyi commented Aug 1, 2023

Initialization, update and dispose of JsComponent
is now executed in the next event loop cycle - i.e. after all other knockout components have been initialized. The main reason for this is to NOT handle
exceptions from the JS component and avoid
crashing the entire page when one component fails to load.

@exyi exyi force-pushed the jscomponent-defer branch from 2fd65a1 to 85d56d1 Compare August 2, 2023 16:57
Initialization, update and dispose of JsComponent
is now executed in the next event loop cycle - i.e.
after all other knockout components have been initialized.
The main reason for this is to NOT handle
exceptions from the JS component and avoid
crashing the entire page when one component fails to load.
@exyi exyi force-pushed the jscomponent-defer branch from 85d56d1 to d3baf1a Compare August 3, 2023 16:36
@exyi exyi merged commit 1f07644 into main Aug 3, 2023
@exyi exyi deleted the jscomponent-defer branch August 3, 2023 19:22
@exyi exyi added this to the Version 4.2 milestone Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants