Skip to content

Example doesn't work with Excalidraw 18, looking for thoughts about why #1

@csdunhamUC

Description

@csdunhamUC

I appreciate your work in showing how to utilize some React libraries in Svelte.

I noticed that there are some mixed results with this process tied to package versioning. Using the latest excalidraw (@excalidraw/excalidraw, version 0.18.0), the example doesn't work -- there are major rendering issues. However, using the version from the repo (0.17.6), things work fine.

Any thoughts on what might be broken following the latest version that would need changing in the React <-> Svelte dynamic to have this work?

Problem: example does not work with Excalidraw version 0.18.0, resulting in rendering issues (shown below).

Image

Immediate Solution: using Excalidraw version 0.17.6, as in the repo, works as expected.

Preferred Solution: identify what's happening in the attempt to use React libraries within Svelte that is contributing to this rendering problem. (note: this is preferred, for me, because whatever is causing this issue may also be causing issues in the React library I'm actually wanting to use in Svelte, which similarly renders incorrectly using the approach demonstrated here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions