Skip to content

Upgrade Svelte to 5.x #4143

Description

@ArakTaiRoth

Info

We are currently on Svelte 4.x. We should probably upgrade to Svelte 5.x to gain any additional benefits that might give:

  1. Vastly decreased size (up to 40%)
  2. Introduction of the $host rune. Allowing immediate access to native host element (would dramatically improve communication between child and parent components
  3. Using the new $props rune allows for us to remove <svelte:options> from our code
  4. Allows functions as props, no more need for CustomEvents
  5. Native Typescript support

This will also allow us to upgrade Vite (which is required for a security fix)

Acceptance Criteria:

  1. Svelte upgrade to version 5
  2. New stories created to take advantage of the above options

Metadata

Metadata

Assignees

No one assigned

    Labels

    Tech debtTechnical Debt. Likely no benefit to end users.

    Type

    Projects

    Status
    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions