From 91f42ed8d5a974942348afc2068c0e5d0f748fd7 Mon Sep 17 00:00:00 2001 From: Aashish Maharjan Date: Sat, 13 Dec 2025 18:02:15 +0545 Subject: [PATCH] fix: correct event handler name in React batching example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cf329c2..84794d50 100644 --- a/README.md +++ b/README.md @@ -5988,7 +5988,7 @@ class ParentComponent extends React.Component { console.log("Application Rendered"); - const handleUsers = () => { + const handleAsyncFetch = () => { fetch("https://jsonplaceholder.typicode.com/users/1").then(() => { // Automatic Batching re-render only once setCount(count + 1);