Add callback to respond to errors when a component does not initialise in initAll
#5267
Closed
1 task done
Milestone
initAll
#5267
What
Add a
onError
option within the config object thatinitAll
can receive to allows the caller to pass a callback function that'll be called if an error happens while initialising a component.Why
Once the feature is added to
createAll
in #5212,initAll
should offer the same functionality for consistencyWho needs to work on this
Developers
Who needs to review this
Developers
Done when
initAll
can receive a new option with a callback that gets invoked when a component fails to initialise.The text was updated successfully, but these errors were encountered: