Skip to content
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

[Angular][XMC] Ensure context is available at the time of placeholder rendering #1947

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

art-alexeyenko
Copy link
Contributor

Description / Motivation

ngOnChanges executes before ngOnInit within placeholder component. This is expected (but not obvious).
Considering we need metadataMode value to be available already, the context subscription is moved to constructor (can't use it in OnChanges as it's called multiple times).

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@art-alexeyenko art-alexeyenko requested review from stasmaxymov and a team October 10, 2024 21:11
Copy link
Contributor

@illiakovalenko illiakovalenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 👍
See few minor comments below

CHANGELOG.md Show resolved Hide resolved
@art-alexeyenko art-alexeyenko merged commit 57a284e into dev Oct 11, 2024
1 check passed
@art-alexeyenko art-alexeyenko deleted the bug/jss-4321-container-placeholder branch October 11, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants