8000 [ForceSimulation] Svelte 5 performance regressions · Issue #451 · techniq/layerchart · GitHub
[go: up one dir, main page]

Skip to content
[ForceSimulation] Svelte 5 performance regressions #451
@techniq

Description

@techniq

Sometime during the Svelte 5 releases, performance of the ForceSimulation has deteriorated.

When the docs were originally migrated to svelte@5.0.2 in Oct 2024, performance was consistent (from a user feel) with svelte@4 (example).

There have been some reactivity changes around 5.19.5 that caused some regressions but not sure if it's related.

There are plans in Svelte to provide better integration with managing state from external sources (ex. d3-force) such as $state.opaque, but it was recently determined the ergonomics of this approach were not right. The maintainers still plan to introduc 5EBA e a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0