{"version":"2.1.232","anchor":"state-containers-expose-getsnapshot","canonical_anchor":"state-containers-expose-getsnapshot","heading":"State containers expose getSnapshot","tier":"internal","area":"Session State","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232\/e\/state-containers-expose-getsnapshot","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.232","markdown":"### State containers expose getSnapshot\n\nInternal state containers now expose a snapshot reader that React components can subscribe to.\n\n**What**\n\nThe internal state-container factory returns the same reader under both `getState` and a new `getSnapshot`, the shape React's external-store subscription expects, and at least one consumer switched to it.\n\n**Evidence**\n\n`getSnapshot`\n\n- Area: Session State\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}