Make config.onInit hooks like array of functions #1953
gubarez
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 1 reply
-
Hey @gubarez — you can still use the pattern with plugins - you'll just have to call any incoming But I would certainly not be opposed to modifying that config property to accept an array as well! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
config.onInit is a function, but plugins may need to hook on this lifecycle event. Perhaps the best thing is to have lifecycle event system, but ATM it would be easier to implement onInit to be an array of functions.
Beta Was this translation helpful? Give feedback.
All reactions