Info
We are currently on Svelte 4.x. We should probably upgrade to Svelte 5.x to gain any additional benefits that might give:
- Vastly decreased size (up to 40%)
- Introduction of the
$host rune. Allowing immediate access to native host element (would dramatically improve communication between child and parent components
- Using the new
$props rune allows for us to remove <svelte:options> from our code
- Allows functions as props, no more need for CustomEvents
- Native Typescript support
This will also allow us to upgrade Vite (which is required for a security fix)
Acceptance Criteria:
- Svelte upgrade to version 5
- New stories created to take advantage of the above options
Info
We are currently on Svelte 4.x. We should probably upgrade to Svelte 5.x to gain any additional benefits that might give:
$hostrune. Allowing immediate access to native host element (would dramatically improve communication between child and parent components$propsrune allows for us to remove<svelte:options>from our codeThis will also allow us to upgrade Vite (which is required for a security fix)
Acceptance Criteria: