Skip to content

Migrate all @layerstack/svelte-actions to @layerstack/svelte-attach package and use callbacks instead of events #50

Open

Description

@techniq

Svelte 5.29 released new {@attach ...} syntax which are an improvement over actions including being reactive by default, conditionally applied, and passed to components (via spread/etc)


While updating, we will also remove the events and instead use callbacks. This allows removing svelteHTML types, which doesn't great and is not discoverable.

See movable within LayerChart (will replace LayerStack impl) for an example.

Activity

  1. changed the title [-]Update all `@layerstack/svelte-actions` to use callbacks instead of events[/-] [+]Migrate all `@layerstack/svelte-actions` to `@layerstack/svelte-attach` package and use callbacks instead of events[/+] on May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions