From 568beed09fd50e34da2a7257a139900ab33a57d9 Mon Sep 17 00:00:00 2001 From: Roopkumar Das <120183778+RoopkumarD@users.noreply.github.com> Date: Sat, 16 Sep 2023 18:51:34 +0530 Subject: [PATCH] fixed a very little english mistake --- 26_Context/26_context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/26_Context/26_context.md b/26_Context/26_context.md index 04bf9ca..c6ddaec 100644 --- a/26_Context/26_context.md +++ b/26_Context/26_context.md @@ -20,7 +20,7 @@ # Context -Context allow as to pass data through the component tree without having to pass props down manually to every child component at every level. +Context allow us to pass data through the component tree without having to pass props down manually to every child component at every level. In React, data is passed top-down (parent to child) via props, but this can be cumbersome for certain types of props (e.g. locale preference, UI theme) that are required by many components within an application. Context provides a way to share values like these between components without having to explicitly pass a prop through every level of the tree.