0 votes
in ReactJS by
What kind of information controls a segment in React?

1 Answer

0 votes
by

There are mainly two sorts of information that control a segment: State and Props

  1. State: State information that will change, we need to utilize State.
  2. Props: Props are set by the parent and which are settled all through the lifetime of a part.
...