---
title: loadSessionStateSnapshotIntoStore
status: published
category: editor
group: Function
author: api
date: 06/23/2023
order: 81
---Public Function
Loads a snapshot of the editor's instance state into the store of a new editor instance.
##### Parameters
`store`
```ts
TLStore
```
The store to load the instance state into
`snapshot`
```ts
TLSessionStateSnapshot
```
The instance state snapshot to load
##### Returns
```ts
void
```
##### References
[TLStore](/gen/tlschema/TLStore-type), [TLSessionStateSnapshot](/gen/editor/TLSessionStateSnapshot-interface)