Today I Learned

Daily reflections on work and learning—what I did and what I learned.

20268

2026-08-09

Tracing request responses and change notifications separately in a browser extension

A note on requesting writes through message-based RPC in separated extension contexts, then using change signals and query invalidation so other screens re-read the single source of truth

  • Chrome's message APIs are transport; request validation, routing, and error responses are defined by the application
  • Command responses and change notifications for other screens have different purposes and should stay separate