-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[WIP] [FEAT] converts -in-element to -render-portal #14472
Conversation
@runspired can you provide some context and/or links to other issues related to this? |
Looks like glimmerjs/glimmer-vm#334 is the upstream item related to this. |
This should be relabeled as a FEATURE |
@runspired I was curious about using
I spiked a change to Ember Wormhole using So said another way, it seems the issue is that Ember Wormhole guarantees that the yielded DOM will remain stable when changing the
I wanted to weigh in with a strong preference for the name |
LOL
so @rwjblue's objection to |
I'll try to save any more of my bike-shedding for an RFC, but I do want to clarify:
It looks like this change is all about making sure the DOM stays stable and there is nothing specifically about "rendering in place". I believe these assertions show the primary issue you're solving: https://github.com/tildeio/glimmer/pull/334/files#diff-793e7c01665aa0549d057403a3859c15R256. Is that true or am I missing something? |
@mitchlloyd if you look at those assertions you will notice that when the element is null the assertion always tests that it was rendered in place :P (which is also a requirement of wormhole) (this is also discussed in the conversation for that PR) |
@runspired will this need feature flags as well? |
☔ The latest upstream changes (presumably #14633) made this pull request unmergeable. Please resolve the merge conflicts. |
I believe this should be closed as the discussion has moved to emberjs/rfcs#287. Let me know if I missed something and need to reopen. |
Tracking PR, requires bumping glimmer first, still figuring out why tests are failing locally.