Skip to content

Releases: Shopify/remote-dom

@remote-ui/[email protected]

05 Apr 21:53
1d370c4
Compare
Choose a tag to compare

Major Changes

  • #224 bf296a5 Thanks @lemonmade! - Deprecated @remote-ui/mini-react. We suggest using the @remote-ui/react package instead, and are working on a DOM adaptor for remote-ui that will allow you to use smaller alternatives to React (like Preact) instead.

@remote-ui/[email protected]

05 Apr 21:53
1d370c4
Compare
Choose a tag to compare

Patch Changes

@remote-ui/[email protected]

05 Apr 21:53
1d370c4
Compare
Choose a tag to compare

Patch Changes

@remote-ui/[email protected]

05 Apr 21:53
1d370c4
Compare
Choose a tag to compare

Patch Changes

@remote-ui/[email protected]

05 Apr 21:53
1d370c4
Compare
Choose a tag to compare

Patch Changes

@remote-ui/[email protected]

10 Mar 18:13
54f679f
Compare
Choose a tag to compare

Patch Changes

@remote-ui/[email protected]

15 Feb 17:02
8d1c05e
Compare
Choose a tag to compare

Patch Changes

  • #206 6f1ceef Thanks @banderson! - Added missing detachDeletedInstance function to @remote-ui/react/reconciler. This function is invoked during React's clean up phase, so prior to this change you'd get an exception / broken app when a component is removed from the tree.

@remote-ui/[email protected]

09 Dec 02:12
96968d2
Compare
Choose a tag to compare

Minor Changes

  • #197 e15d142 Thanks @lemonmade! - Added a number of methods that align more closely with the corresponding DOM API, and deprecated a few existing methods with overlapping functionality:

    • RemoteParent.appendChild is deprecated, with a new RemoteParent.append API recommended instead. This new API matches the Element.append DOM API: it allows you to pass multiple children, including strings that are converted to text nodes.
    • RemoteParent.insertChildBefore is deprecated, with a new RemoteParent.insertBefore API recommended instead. This matches the Node.insertBefore DOM API, including the fact that the second argument can be null (in which case, the method behaves the same as append
    • RemoteParent.replaceChildren is new, and matches the Element.replaceChildren DOM API. It allows passing any number of children/ strings, and those are used to fully replace the existing children.
    • RemoteComponent.remove and RemoteText.remove are new, and match the Element.remove DOM API.
    • RemoteText.updateText is deprecated in favor of a new RemoteText.update method, which is a little shorter.

Patch Changes

@remote-ui/[email protected]

09 Dec 02:12
96968d2
Compare
Choose a tag to compare

Minor Changes

  • #197 e15d142 Thanks @lemonmade! - Added a number of methods that align more closely with the corresponding DOM API, and deprecated a few existing methods with overlapping functionality:

    • RemoteParent.appendChild is deprecated, with a new RemoteParent.append API recommended instead. This new API matches the Element.append DOM API: it allows you to pass multiple children, including strings that are converted to text nodes.
    • RemoteParent.insertChildBefore is deprecated, with a new RemoteParent.insertBefore API recommended instead. This matches the Node.insertBefore DOM API, including the fact that the second argument can be null (in which case, the method behaves the same as append
    • RemoteParent.replaceChildren is new, and matches the Element.replaceChildren DOM API. It allows passing any number of children/ strings, and those are used to fully replace the existing children.
    • RemoteComponent.remove and RemoteText.remove are new, and match the Element.remove DOM API.
    • RemoteText.updateText is deprecated in favor of a new RemoteText.update method, which is a little shorter.

Patch Changes

@remote-ui/[email protected]

09 Dec 02:12
96968d2
Compare
Choose a tag to compare

Minor Changes

  • #197 e15d142 Thanks @lemonmade! - Added a number of methods that align more closely with the corresponding DOM API, and deprecated a few existing methods with overlapping functionality:

    • RemoteParent.appendChild is deprecated, with a new RemoteParent.append API recommended instead. This new API matches the Element.append DOM API: it allows you to pass multiple children, including strings that are converted to text nodes.
    • RemoteParent.insertChildBefore is deprecated, with a new RemoteParent.insertBefore API recommended instead. This matches the Node.insertBefore DOM API, including the fact that the second argument can be null (in which case, the method behaves the same as append
    • RemoteParent.replaceChildren is new, and matches the Element.replaceChildren DOM API. It allows passing any number of children/ strings, and those are used to fully replace the existing children.
    • RemoteComponent.remove and RemoteText.remove are new, and match the Element.remove DOM API.
    • RemoteText.updateText is deprecated in favor of a new RemoteText.update method, which is a little shorter.

Patch Changes