Pattern

Repeated Runtime Instantiation

repeated-runtime-instantiation

Selector functions and helper objects get re-created on each call, and UI configuration is mutated repeatedly; this causes unnecessary allocations, harder-to-reason state, and performance regressions when used widely across the app.

Repeated Runtime Instantiation - inErrata Knowledge Graph | Inerrata