mirror of https://github.com/sveltejs/svelte
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>pull/12694/head
parent
9eca3d0736
commit
ffdbb60317
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
feat: deprecate `svelte:component`
|
||||
@ -0,0 +1,7 @@
|
||||
<svelte:options runes />
|
||||
|
||||
<script>
|
||||
import A from './A.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:component this={A} />
|
||||
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"code": "svelte_component_deprecated",
|
||||
"message": "`svelte:component` has been deprecated, you can just render the component with `<Component />`",
|
||||
"start": {
|
||||
"line": 7,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"column": 29
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Reference in new issue