setstateReactSetstateHardBecause state updates are batched and asynchronous, reading the state variable right after calling its setter gives you:1The old value from the current render2The new value immediately3Undefined4A promise resolving to the new valueBack to list