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
At the moment, when a pattern's object is imported, it must be deep cloned in order to prevent changes leaking into other instances of the pattern. Sometimes developers neglect to do this, and the consequences are very hard to debug and track down.
The pattern objects should be cloned as they are imported - one way to do this would be to export classes instead of objects.
The text was updated successfully, but these errors were encountered:
At the moment, when a pattern's object is imported, it must be deep cloned in order to prevent changes leaking into other instances of the pattern. Sometimes developers neglect to do this, and the consequences are very hard to debug and track down.
The pattern objects should be cloned as they are imported - one way to do this would be to export classes instead of objects.
The text was updated successfully, but these errors were encountered: