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
I think allowing an empty computed object is reasonable. It looks like replacing the templateProperties.computed condition you mentioned with computations.length should fix this.
An empty component
computed
property causes svelte compiler to add an unnecessaryrecompute
call without actually adding therecompute
function.Version: 1.13.6
Smallest failing example:
Error:
recompute is not defined.
Seems like the error is going on here: src/generators/dom/index.js#L305-L309
In order to resolve this issue I see one of two options:
computed
is an empty object.computed
is invalid.I'll be happy to submit a PR, I just wanted to figure out the best course of action.
The text was updated successfully, but these errors were encountered: