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
In summary, we need a (lightweight) contract so components can be looked up as app.components['superPlugin'], and provide some rudimentary lifecycle (then) hooks (eg loaded, stopped etc) and even have a custom exported object.
The text was updated successfully, but these errors were encountered:
New Feature:
It would be great if we could add support for a Promise to be returned for each
loopback-component-XXX
loaded status + more.This will allow us to decide whether to perform a task or not, or even disable parts of the API's functionality, wait before running tests etc.
See for example this
workaroundbeginning of a nice and simple loopback <--> components contract for auto-migration snowyu/loopback-component-auto-migrate.js#4In summary, we need a (lightweight) contract so components can be looked up as
app.components['superPlugin']
, and provide some rudimentary lifecycle (then
) hooks (egloaded
,stopped
etc) and even have a custom exported object.The text was updated successfully, but these errors were encountered: