Flare interview question

Why use the setState param and not the state itself.

Interview Answer

Anonymous

26 May 2026

Its the closure otherwise you won't update the state.