Are their any Angular rules/best practices about when to clone or not objects returned by the service.
Sharing same data object reference upon all components may cause unexpected behaviors (eg: template based form that uses object reference may cause object property change before submit)
Aucun commentaire:
Enregistrer un commentaire