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

refactor: add simpler componentFocusable util (deprecates LoadableComponent) #9362

Merged
merged 2 commits into from
May 18, 2024

Conversation

jcfranco
Copy link
Member

Related Issue: N/A

Summary

Adds a replacement componentFocusable util that does not depend on implementing LoadableComponent.

@github-actions github-actions bot added the refactor Issues tied to code that needs to be significantly reworked. label May 17, 2024
@jcfranco jcfranco marked this pull request as ready for review May 17, 2024 19:56
@jcfranco jcfranco requested a review from a team as a code owner May 17, 2024 19:56
@jcfranco jcfranco added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label May 17, 2024
Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

👍 Nice

@jcfranco jcfranco merged commit fe0b900 into main May 18, 2024
11 checks passed
@jcfranco jcfranco deleted the jcfranco/deprecate-loadable-component branch May 18, 2024 03:58
jcfranco added a commit that referenced this pull request Jun 8, 2024
…LoadableComponent`) (#9515)

**Related Issue:** N/A

## Summary

#9362 introduced a utility that aimed to simplify how components wait to
be loaded/ready before certain logic. Unfortunately, the behavior
differs between `dist` and `components` output targets. This is because
the utility assumes components from the `components` output target are
not returning promises in lifecycle hooks that would delay initial
rendering.

See ionic-team/stencil-site#1437 for more
info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr ready for visual snapshots Adding this label will run visual snapshot testing. refactor Issues tied to code that needs to be significantly reworked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants