gridjs-svelte
gridjs-svelte copied to clipboard
Svelte error: component_api_invalid_new
This error is thrown on https://svelte.dev/playground/e3247cb80c344f95b1fdd2853006f159?version=5.20.4
Error
Svelte error: component_api_invalid_new
Attempted to instantiate EmailLink.svelte with `new EmailLink`, which is no longer valid in Svelte 5. If this component is not under your control, set the `compatibility.componentApi` compiler option to `4` to keep it working.
https://svelte.dev/e/component_api_invalid_new
at component_api_invalid_new (playground:output:154:18)
at check_target (playground:output:3352:4)
at new EmailLink (playground:output:4074:3)
at SvelteWrapper.componentDidMount (playground:output:4047:26)
at eval (playground:output:3911:8974)
at Array.some (<anonymous>)
at eval (playground:output:3911:8955)
at Array.some (<anonymous>)
at U (playground:output:3911:8915)
at eval (playground:output:3911:3133)