Is there a difference that we should know about between using multiple @State vars or single @state store with multiple vars

Example of code:

    @State private var state1 = "hello"
    @State private var state2 = "world"
    @State private var state3 = 0
    @State private var state4 = false

Or using store

@Observable 
class Store {
    var state1 = "hello"
    var state2 = "world"
    var state3 = 0
    var state4 = false
}

// and
@State var store = Store()

Some things I found myself, is that using Store I can use didSet, willSet to update other vars when one changes.

But if that is not needed - is there an advantage of one

Is there a difference that we should know about between using multiple @State vars or single @state store with multiple vars
 
 
Q