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
We should add a Symbol so that component instances serialize to empty objects, this way if a ViewModel has component instances on it, the serialization will not be extremely slow.
canReflect.serialize does avoid serializing elements because built ins are directly returned.
The performance problem is specific to devtools because it doesn't always use serialize directly. It is using canReflect.getOwnKeys so that it can recursively get the names for objects.
We should add a Symbol so that component instances serialize to empty objects, this way if a ViewModel has component instances on it, the serialization will not be extremely slow.
Related to canjs/devtools#41 (comment).
The text was updated successfully, but these errors were encountered: