NgRx Store DevTools action history retention limit
0 reputation · 29 Jan 2025, 17:28 UTC
Feature: Action History Retention
NgRx Store DevTools records every dispatched action to enable time‑travel debugging and state inspection. The documentation does not specify an upper bound on the number of actions kept in memory, and the default appears to be unlimited. This can lead to significant memory growth in applications that dispatch thousands of actions over time.
Developers working with long‑running or high‑frequency action streams are uncertain whether an internal limit exists, and if so, how it is enforced. The absence of a documented configuration option creates ambiguity when planning for performance and memory usage during debugging sessions.
Key uncertainties:
- What is the default maximum number of actions retained by NgRx Store DevTools?
- Is there a public configuration API to set or override this limit?
- How does the retention policy impact debugging performance in large applications?