Description
After reading this article, I traced where memory usage increases and found that it differs depending on whether the Lexical history plugin is enabled in the production build environment.
It would be helpful if the Lexical history plugin had an option to set a maximum limit on change history. Additionally, optimizing how changes are stored could improve performance.
Use HistoryPlugin

None HistoryPlugin

Impact
This feature would enhance the user experience when editing large documents by providing smoother performance.
Description
After reading this article, I traced where memory usage increases and found that it differs depending on whether the Lexical history plugin is enabled in the production build environment.
It would be helpful if the Lexical history plugin had an option to set a maximum limit on change history. Additionally, optimizing how changes are stored could improve performance.
Use HistoryPlugin
None HistoryPlugin
Impact
This feature would enhance the user experience when editing large documents by providing smoother performance.