Skip to content

Svelte 5 support #235

@geoextra

Description

@geoextra

When using the Calendar component in a Svelte 5 project it relies on get_current_component() from svelte/internal which has been removed.

import {destroy_component, get_current_component} from 'svelte/internal';

A possible solution is presented here with an example.

Tested with Svelte 5.0.0-next.50.

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