-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: standardize examples using timers for SSR compatibility #48480
docs: standardize examples using timers for SSR compatibility #48480
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@douglasdnzcarvalho thanks for the PR! I've left a comment with a proposal to avoid any
s in the code. Thank you.
aio/content/examples/component-interaction/src/app/countdown-timer.component.ts
Outdated
Show resolved
Hide resolved
aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts
Outdated
Show resolved
Hide resolved
aio/content/examples/component-interaction/src/app/countdown-timer.component.ts
Outdated
Show resolved
Hide resolved
aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@douglasdnzcarvalho thanks for addressing the feedback 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: fw-core, docs-observables, public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
This PR was merged into the repository by commit fb1161f. |
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. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Some examples use the window object directly or have the return type as number, which makes them non-SSR-compliance and the documentation non-standard.
Closes #48047
What is the new behavior?
Documentation becomes standardized and SSR-compliant.
Does this PR introduce a breaking change?
Other information
Also discussed os this PRs: #48048 and #48459