Synchronous alternative for setState : <p>I know setState is asynchronous and it may not mutate the state immediately after calling setState(), is there any alternative method for changing the state synchronously or immediately mutating the state ?</p>
