How many ways to update states function in React ?

Comments