From 6836c5ded682e590536955c8b968b025608fb6b0 Mon Sep 17 00:00:00 2001 From: KULDEEP KUMAR <130976242+CODEkuldeep@users.noreply.github.com> Date: Mon, 15 Dec 2025 05:38:19 +0530 Subject: [PATCH] fix(curriculum): correct grammar in React state and hooks review (#64588) --- .../review-react-state-and-hooks/67c2bbd476f6e540b4c0b0d4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/review-react-state-and-hooks/67c2bbd476f6e540b4c0b0d4.md b/curriculum/challenges/english/blocks/review-react-state-and-hooks/67c2bbd476f6e540b4c0b0d4.md index 68752be18fd..55edf5fed63 100644 --- a/curriculum/challenges/english/blocks/review-react-state-and-hooks/67c2bbd476f6e540b4c0b0d4.md +++ b/curriculum/challenges/english/blocks/review-react-state-and-hooks/67c2bbd476f6e540b4c0b0d4.md @@ -51,8 +51,8 @@ function handleDelete(id) { ## Working with State and the `useState` Hook -- **Definition for state**: In React, state is a object that contains data for a component. When the state updates the component will re-render. React treats state as immutable, meaning you should not modify it directly. -- **`useState()` Hook**: The `useState` hook is a function that lets you declare state variables in functional components.  Here is an basic syntax: +- **Definition for state**: In React, state is an object that contains data for a component. When the state updates the component will re-render. React treats state as immutable, meaning you should not modify it directly. +- **`useState()` Hook**: The `useState` hook is a function that lets you declare state variables in functional components. Here is the basic syntax: ```js const [stateVariable, setStateFunction] = useState(initialValue);