Why it matters
Cache state carefully and invalidate on state events.
Practical steps
- Confirm Matrix Client-Server API pieces for matrix matrix state against current spec.matrix.org docs.
- Implement cache state carefully and invalidate on state events with correct access tokens and room membership checks.
- Handle E2EE carefully: do not log decrypted content; sync state safely.
- Test matrix matrix state against a homeserver you control before production.
- Document device verification and logout steps related to matrix matrix state.
Watch out for
- Copy-pasting outdated snippets for matrix matrix state without re-reading current official docs.
- Shipping matrix matrix state to production without a staging rehearsal and a documented rollback.