-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
While trying to make a bug report for a reactivity issue I've encountered, I've somehow caused console.log to no longer be a function inside my $effect?
I'm not sure how, or why this happens.
If I move the console.log on line 12 outside the if block, it works fine.
This now prevents me from debugging the reactivity bug I have, making svelte unusable.
Reproduction
Logs
TypeError
TypeError: console.log(...) is not a function
at $effect (playground:output:3403:76)
at update_reaction (playground:output:2204:57)
at update_effect (playground:output:2371:19)
at flush_queued_effects (playground:output:2479:6)
at flush_queued_root_effects (playground:output:2451:6)
TypeError
TypeError: console.log(...) is not a function
at $effect (playground:output:3403:76)
at update_reaction (playground:output:2204:57)
at update_effect (playground:output:2371:19)
at flush_queued_effects (playground:output:2479:6)
at flush_queued_root_effects (playground:output:2451:6)System Info
https://svelte.dev/ chromeSeverity
blocking all usage of svelte
Metadata
Metadata
Assignees
Labels
No labels