Added additional details about Hooks (#2715)

added a more user friendly description about what hooks in react do, so that learners can understand the concept quickly and easily
This commit is contained in:
SamarS1ngh authored and GitHub committed 2022-10-31 12:42:38 +04:00
1 parent 297cb7a702
commit c7db305fab
1 file changed
+2 -1
@@ -1,6 +1,7 @@
# Hooks
Hooks were introduced in React 16.8 and they let us use state and other React features without writing a class
Hooks were introduced in React 16.8 and they let us use React's features-like managing your component's state and or performing an after effect when certain changes occur in state(s) without writing a class.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://reactjs.org/docs/hooks-intro.html'>Introduction to Hooks</BadgeLink>