What is Props?

Question
  • “Props” is a special keyword in React, which stands for properties and is being used for passing data from one component to another.
  • But the important part here is that data with props are being passed in a uni-directional flow. (one way from parent to
  • child)
  • Furthermore, props data is read-only, which means that data coming from the parent should not be changed by child components
3 years 2021-08-02T16:32:30+00:00 8 views 0

Leave an answer

Browse
Browse