#10 - Functional Component in React - Access State Data, Update them in Functional Component

#10 - Functional Component in React - Access State Data, Update them in Functional Component

Welcome to React Functional Component

 Discussed Topics in Functional Component

  • Create Functional Component
  • Why Functional Components Created at First ?
    • Render UI
    • Pass as Component to Component Data Communication
  • What Functional Component can Do Now
    • Code Separation Concept
  • Basic Hooks in Functional Component
    • useState()
    • useEffect()
  • State Update -
    • String Update
    • Object Update

 

Create a Functional Component in React - 

import React from "react";

const App = () => {

  return  <>...</>
}

export default App;

 

 

Demo View - 

 

Download Source Code From Github - https://github.com/ManiruzzamanAkash/ReactBasic2Pro/tree/Day10

 

#Video

Previous
#4 - let vs const vs var - Clear the ES6 concepts and makes simpler path to learn React
Next
Higher Order Component in React - In depth discussion about React HOC