Releases: Shopify/remote-dom
@remote-dom/signals@1.1.2
Patch Changes
-
#517
99a8e1a
Thanks @lemonmade! - Fix missing attributes and event listeners on root receiver elements -
Updated dependencies [
99a8e1a
]:- @remote-dom/core@1.5.2
@remote-dom/core@1.5.2
Patch Changes
- #517
99a8e1a
Thanks @lemonmade! - Fix missing attributes and event listeners on root receiver elements
@remote-dom/react@1.2.1
Patch Changes
- #492
59f417b
Thanks @lemonmade! - Apply React polyfill directly toglobalThis
@remote-dom/preact@1.2.1
Patch Changes
-
#465
017ca02
Thanks @lemonmade! - Fixslot
to be transmitted as an attribute, not a property -
Updated dependencies [
994e2ea
,017ca02
]:- @remote-dom/core@1.5.1
- @remote-dom/signals@1.1.1
@remote-dom/polyfill@1.4.2
Patch Changes
-
#499
994e2ea
Thanks @lemonmade! - Roll back mutation ofglobalThis
andglobalThis.self
inWindow.setGlobal()
This prevents the polyfill from interfering with globals like
globalThis.addEventListener
, which you may need to manage the communication between a sandboxed environment and the main thread.In the future, we will likely change the polyfill to require you to explicitly install the polyfill, instead of it being done automatically when you
@remote-dom/core/polyfill
. At that point, we will reintroduce the ability to more faithfully replicate more DOM globals, like havingglobalThis
,globalThis.self
, andglobalThis.window
all refer to the same polyfilledWindow
object. To install this polyfill today and get back to the behavior introduced by this PR, you can call the newWindow.setGlobalThis()
method:import {window, Window} from '@remote-dom/core/polyfill'; Window.setGlobalThis(window);
@remote-dom/core@1.5.1
Patch Changes
-
#499
994e2ea
Thanks @lemonmade! - Roll back mutation ofglobalThis
andglobalThis.self
inWindow.setGlobal()
This prevents the polyfill from interfering with globals like
globalThis.addEventListener
, which you may need to manage the communication between a sandboxed environment and the main thread.In the future, we will likely change the polyfill to require you to explicitly install the polyfill, instead of it being done automatically when you
@remote-dom/core/polyfill
. At that point, we will reintroduce the ability to more faithfully replicate more DOM globals, like havingglobalThis
,globalThis.self
, andglobalThis.window
all refer to the same polyfilledWindow
object. To install this polyfill today and get back to the behavior introduced by this PR, you can call the newWindow.setGlobalThis()
method:import {window, Window} from '@remote-dom/core/polyfill'; Window.setGlobalThis(window);
-
#465
017ca02
Thanks @lemonmade! - Fixslot
to be transmitted as an attribute, not a property -
Updated dependencies [
994e2ea
]:- @remote-dom/polyfill@1.4.2
@remote-dom/polyfill@1.4.1
Patch Changes
-
#472
1473a3c
Thanks @jakearchibald! - Fix removeChild so it clears parent/sibling references -
#472
1473a3c
Thanks @jakearchibald! - Add node.parentElement -
#470
08839d3
Thanks @developit! - window aliases should refer to globalThis
@remote-dom/polyfill@1.4.0
Minor Changes
- #446
b297fc5
Thanks @jakearchibald! - Implement node.isConnected
Patch Changes
-
#446
b297fc5
Thanks @jakearchibald! - Ensure that the insert and remove hooks are only called for element parents. -
#446
b297fc5
Thanks @jakearchibald! - Make connectedCallback and disconnectedCallback call on connect/disconnect recursively
@remote-dom/polyfill@1.3.1
Patch Changes
- #436
5979797
Thanks @jakearchibald! - Ensure thecreateText
hook is called when creating a new text node
@remote-dom/signals@1.1.1
Patch Changes
- Updated dependencies [
2479b21
]:- @remote-dom/core@1.5.0