You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it's possible to create signals inside the render method of components which requires the use of an "Isolate" to clean things up. This seems bad.
Instead of this, we should introduce a dev-mode check that throws at runtime if a signal is created inside a render method. We can then remove the Isolate class both from the Component implementation and from the entire codebase. The setup method and signal metadata (@:computed etc) can handle the rest.
The text was updated successfully, but these errors were encountered:
Right now it's possible to create signals inside the render method of components which requires the use of an "Isolate" to clean things up. This seems bad.
Instead of this, we should introduce a dev-mode check that throws at runtime if a signal is created inside a render method. We can then remove the Isolate class both from the Component implementation and from the entire codebase. The
setup
method and signal metadata (@:computed
etc) can handle the rest.The text was updated successfully, but these errors were encountered: