Add functional components resources

interactive-react
Kamran Ahmed 2 years ago
parent c52ea8d7f8
commit 1c47773816
  1. 8
      content/roadmaps/103-react/content/100-react-fundamental-topics/102-components/100-functional-components.md

@ -1 +1,7 @@
# Functional components
# Functional Components
Functional components are some of the more common components that will come across while working in React. These are simply JavaScript functions. We can create a functional component to React by writing a JavaScript function. These functions may or may not receive data as parameters. In the functional Components, the return value is the JSX code to render to the DOM tree. Functional components can also have state which is managed using React hooks.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://reactjs.org/docs/components-and-props.html#function-and-class-components'>Components and Props</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.geeksforgeeks.org/reactjs-functional-components/'>ReactJS Functional Components</BadgeLink>

Loading…
Cancel
Save