Production Mode

In dev mode, Akita will deep freeze the store's value to avoid store mutations. Moreover, it will expose a reference to the stores through window.$$stores property, and to the queries through window.$$queries.

In production, you should disable this feature by calling the following function in order to get the store to operate optimally.

import { enableAkitaProdMode } from '@datorama/akita';
if (environment.production) {
enableAkitaProdMode();
}