diff --git a/documentation/docs/98-reference/.generated/compile-warnings.md b/documentation/docs/98-reference/.generated/compile-warnings.md index 0881f5263b..b049a40fb9 100644 --- a/documentation/docs/98-reference/.generated/compile-warnings.md +++ b/documentation/docs/98-reference/.generated/compile-warnings.md @@ -720,12 +720,6 @@ Reactive declarations only exist at the top level of the instance script Reassignments of module-level declarations will not cause reactive statements to update ``` -### reactive_declaration_non_reactive_property - -``` -Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update -``` - ### script_context_deprecated ``` diff --git a/packages/svelte/messages/compile-warnings/script.md b/packages/svelte/messages/compile-warnings/script.md index 6d04c00bfa..20c535bd23 100644 --- a/packages/svelte/messages/compile-warnings/script.md +++ b/packages/svelte/messages/compile-warnings/script.md @@ -22,10 +22,6 @@ > Reassignments of module-level declarations will not cause reactive statements to update -## reactive_declaration_non_reactive_property - -> Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update - ## state_referenced_locally > State referenced in its own scope will never update. Did you mean to reference it inside a closure? diff --git a/packages/svelte/src/compiler/warnings.js b/packages/svelte/src/compiler/warnings.js index 630a6807e5..78ab2aeb3e 100644 --- a/packages/svelte/src/compiler/warnings.js +++ b/packages/svelte/src/compiler/warnings.js @@ -101,7 +101,6 @@ export const codes = [ "perf_avoid_nested_class", "reactive_declaration_invalid_placement", "reactive_declaration_module_script_dependency", - "reactive_declaration_non_reactive_property", "state_referenced_locally", "store_rune_conflict", "css_unused_selector", @@ -631,14 +630,6 @@ export function reactive_declaration_module_script_dependency(node) { w(node, "reactive_declaration_module_script_dependency", "Reassignments of module-level declarations will not cause reactive statements to update"); } -/** - * Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update - * @param {null | NodeLike} node - */ -export function reactive_declaration_non_reactive_property(node) { - w(node, "reactive_declaration_non_reactive_property", "Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update"); -} - /** * State referenced in its own scope will never update. Did you mean to reference it inside a closure? * @param {null | NodeLike} node