Repository navigation
docs: document the 22.0.0 changes - #3853
Draft
armando-navarro wants to merge 2 commits into
Draft
armando-navarro wants to merge 2 commits into
armando-navarro wants to merge 2 commits into
Conversation
Messaging is null during server rendering, and with the fix for angular#3672 also in a browser with no service worker support. The page showed inject(Messaging) with no mention of either. The example service used the injected value in its constructor, so an app copied from it failed to render in those browsers. Add one sentence after the injection snippet, and null checks in the example's constructor, message$ and unregister. Refs angular#3672
AngularFire creates no Remote Config instance on the server, so inject(RemoteConfig) returns null there while its type says RemoteConfig. The page showed the injection without mentioning it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the one docs PR for
22.0.0. It works the way #3835 did for22.0.0-rc.1: one commit per code change, and it merges only just before the22.0.0tag, so the docs onmainand the published package change together.It is a draft until then. Each commit can be reviewed as it arrives.
Commits so far
docs(messaging): say Messaging can be null, and check in the example, for fix(messaging): inject null where the browser has no service worker #3852: one sentence after theinject(Messaging)snippet indocs/messaging.mdsayingMessagingisnullduring server rendering and in a browser with no service worker support, andnullchecks in the example service's constructor,message$andunregister.docs: say RemoteConfig is null during server rendering, a fix for already-released behavior: one sentence after theinject(RemoteConfig)snippet indocs/remote-config.mdsayingRemoteConfigisnullduring server rendering.Checklist
yarn install,yarn testrun successfully?: not applicable, docs only.