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
Angular recommends moving away from bootstrapModule and instead using bootstrapComponent. This means that the forRoot and forChild pattern will be obsolete. Here is the simple hack/wrapper function that I came up with while migrating my application to ng 18.
Please consider officially adding a provider function. You may use the code below for inspiration.
Angular recommends moving away from
bootstrapModule
and instead usingbootstrapComponent
. This means that theforRoot
andforChild
pattern will be obsolete. Here is the simple hack/wrapper function that I came up with while migrating my application to ng 18.Please consider officially adding a provider function. You may use the code below for inspiration.
Example usage
The text was updated successfully, but these errors were encountered: