Lattice Grid Buy a licence

calendar ยท console.warn

calendar: restoring state version {version} ...

Printed by calendar, prefixed [lattice], since 1.83.0.

Warnings reference › calendar:state-version

Identifier
calendar:state-version
Raised by
calendar
Since
1.83.0

What happened

setState() was handed a snapshot whose version field is not 2 - a snapshot written by a newer build. It is accepted best-effort: recognised fields are restored and unknown ones are skipped, rather than refused.

The fix

Read the snapshot with the build that wrote it, or accept the best-effort restore and re-apply any fields it skipped.

The smallest fix

calendar.setState(snapshot);   // version 2 fields restored, the rest ignored

Reference

Covered in full at the API reference.