Don't Sync State. Derive It!

How to avoid state synchronization bugs and complexity with derived state.

Sources