The restored state is detached from the snapshot. A mutable timeline can
instead restore into an existing live root, such as a MobX, Vue, or Pinia
store object: Travels overwrites target in place with the snapshot state
and keeps that reference as its state.
Live mutable root that receives the restored state in place. Requires
mutable: true and the same plain object or array root kind as the
snapshot state.
Options accepted by
restoreTravels().The restored state is detached from the snapshot. A mutable timeline can instead restore into an existing live root, such as a MobX, Vue, or Pinia store object: Travels overwrites
targetin place with the snapshot state and keeps that reference as its state.