StateFlow is a hot stream with a current value (always has one) and replay=1; it’s designed to represent state. SharedFlow is a hot stream for events with configurable replay/buffer; it may have no current value. Use StateFlow for state, SharedFlow for events.