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
TODO(bhenning) in core/templates/domain/editor/undo_redo/base-undo-redo.service.ts: Integrate Immutable.js to avoid the slice and ensure the returned object is truly an immutable copy.
#20313
Closed
FaithAbiola opened this issue
May 14, 2024
· 1 comment
The TODO comment suggests that the current implementation of the getChangeList() method may not be returning an immutable copy of the change list, which could lead to potential issues if the returned list is modified elsewhere in the codebase.
Integrating Immutable.js or a similar library would help ensure that the returned changeList is not accidentally modified, which could lead to unexpected behavior in the application. This would improve the overall robustness and maintainability of the codebase.
The text was updated successfully, but these errors were encountered:
The TODO comment suggests that the current implementation of the getChangeList() method may not be returning an immutable copy of the change list, which could lead to potential issues if the returned list is modified elsewhere in the codebase.
Integrating Immutable.js or a similar library would help ensure that the returned changeList is not accidentally modified, which could lead to unexpected behavior in the application. This would improve the overall robustness and maintainability of the codebase.
The text was updated successfully, but these errors were encountered: