diff --git a/packages/store/src/lib/Store.ts b/packages/store/src/lib/Store.ts index e715420f7..49492fe53 100644 --- a/packages/store/src/lib/Store.ts +++ b/packages/store/src/lib/Store.ts @@ -187,7 +187,10 @@ export class Store { objectMapFromEntries( objectMapEntries(initialData).map(([id, record]) => [ id, - atom('atom:' + id, this.schema.validateRecord(this, record, 'initialize', null)), + atom( + 'atom:' + id, + devFreeze(this.schema.validateRecord(this, record, 'initialize', null)) + ), ]) ) )