query,pos "How to handle onChange event in React when state changes programmatically?","React onChange event not firing when state is updated programmatically" "How to simulate a click event on a button using JavaScript?","JavaScript button click event simulation" "Python: How to run a function asynchronously using asyncio?","Asyncio: Running Python function asynchronously"