Skip nested memory collection when no triggers exist so render-bound `getAppState()` is never invoked unnecessarily.