From 64cdfd2ba08b021f7ccabe3ab266261832184755 Mon Sep 17 00:00:00 2001 From: Adekola Olawale Date: Fri, 21 Oct 2022 16:37:51 +0100 Subject: [PATCH] Add content to useContext hook (#2592) --- .../108-basic-hooks/102-use-context.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 content/roadmaps/103-react/content/100-react-fundamental-topics/108-basic-hooks/102-use-context.md diff --git a/content/roadmaps/103-react/content/100-react-fundamental-topics/108-basic-hooks/102-use-context.md b/content/roadmaps/103-react/content/100-react-fundamental-topics/108-basic-hooks/102-use-context.md new file mode 100644 index 000000000..2fe90d27d --- /dev/null +++ b/content/roadmaps/103-react/content/100-react-fundamental-topics/108-basic-hooks/102-use-context.md @@ -0,0 +1,8 @@ +# useContext Hook + +`useContext` hook is used to read and subscribe to context from your component. Context allows a parent component to pass data down the entire component tree below it. + +Free Content +Using the Context Hook +Learn useContext in 13 Minutes +How to useContext in React