-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
I'm writing this as a bug, but perhaps it is not. Long story short: $effect.tracking() returns false during component initialization, but during component initialization, effect placement is valid. Up to 1 minute ago, I have always thought of $effect.tracking() as the one tool I need to know if an effect can be set up. This discovery has shaken this knowledge away from me.
If this is not a bug: Would you still say that $effect.tracking is the only tool at our disposal to safely set effects up? Because then how do we detect component initialization?
Reproduction
Not needed, I suppose?
Logs
No response
System Info
REPLSeverity
annoyance
rChaoz
Metadata
Metadata
Assignees
Labels
No labels