docs: Add mention to ENVIRONMENT_INITIALIZER#57464
docs: Add mention to ENVIRONMENT_INITIALIZER#57464JeanMeche wants to merge 1 commit intoangular:mainfrom
ENVIRONMENT_INITIALIZER#57464Conversation
|
Deployed adev-preview for dfe33cf to: https://ng-dev-previews-fw--pr-angular-angular-57464-adev-prev-frl2u3hi.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
There was a problem hiding this comment.
Does adev have any "note" styling capabilities? And can APP_INITIALIZER be a link to its reference page?
There was a problem hiding this comment.
Cross linking will be enabled when #57346 lands !
The automatic styling is only available on the guide pages right now. For API entries we'll need to use <div class="alert is-helpful">
There was a problem hiding this comment.
I stand corrected, the div trick did work on aio, but doesn't on adev.
I'll look into making both NOTE and the div work for API pages.
4a464d9 to
d221159
Compare
Explicitly mention that `ENVIRONMENT_INITIALIZER` should not be async.
d221159 to
dfe33cf
Compare
|
This PR was merged into the repository by commit 641f8f1. The changes were merged into the following branches: main, 18.2.x |
Explicitly mention that `ENVIRONMENT_INITIALIZER` should not be async. PR Close #57464
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Explicitly mention that
ENVIRONMENT_INITIALIZERshould not be async.