Closed gosulja closed 1 year ago
Is your component being created within a root()
or mount()
call? A 'root scope' created by these functions needs to be present for functions like effect()
to work.
No it wasn't, I was having issues with mount. But I will try it
No it wasn't, I was having issues with mount. But I will try it
Did that get resolved?
No it wasn't, I was having issues with mount. But I will try it
Did that get resolved?
It did, thanks!
I get this warning or error whenever I try and use **effect** in my return function for my component.