Closed josemarluedke closed 1 year ago
Looks like this same issue happens with ember-page-title in 3.14, see https://github.com/adopted-ember-addons/ember-page-title/issues/155
I think it should have been fixed as part of https://github.com/glimmerjs/glimmer-vm/pull/988, but I'd need to double check.
@rwjblue any news on this? If you have a pointer where/what to check I'll try to find some time to look into it.
Sorry for the laziness, but can y'all confirm that this is fixed in v3.17?
@rwjblue thanks for getting back to this. Things look good with 3.17 - However so far I just did a quick test.
I just tested this out and it did fix the issue where the target element is a child of body.
However, if the target element is document.body
, then the following issue occurs:
runtime.js:6303 Uncaught (in promise) TypeError: Cannot read property 'removeChild' of null
at RehydrateBuilder.remove (runtime.js:6303)
at RehydrateBuilder.clearMismatch (runtime.js:6176)
at RehydrateBuilder.__closeBlock (runtime.js:6241)
at RehydrateBuilder.popBlock (runtime.js:274)
at Object.evaluate (runtime.js:3805)
at AppendOpcodes.evaluate (runtime.js:2004)
at LowLevelVM.evaluateSyscall (runtime.js:4906)
at LowLevelVM.evaluateInner (runtime.js:4862)
at LowLevelVM.evaluateOuter (runtime.js:4854)
at JitVM.next (runtime.js:5798)
Updated reproduction is here: https://github.com/josemarluedke/--rehydration-in-element
rwjblue thanks for getting back to this. Things look good with 3.17 - However so far I just did a quick test.
I'm closing this.
If the other issue mentioned is still a problem (https://github.com/emberjs/ember.js/issues/18020#issuecomment-608637255), please open a new issue for it.
I'm having an issue using
-in-element
and rehydration (FastBoot).The code works if rehydration is disabled, but fails while rehydrating the generated code from FastBoot.
A reproduction of the error can be found here: https://github.com/josemarluedke/--rehydration-in-element