Login
Remember
Register
Ask a Question
What kind of information controls a segment in React?
0
votes
asked
Dec 15, 2023
in
ReactJS
by
rahuljain1
What kind of information controls a segment in React?
controlsegment
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 15, 2023
by
rahuljain1
There are mainly two sorts of information that control a segment: State and Props
State: State information that will change, we need to utilize State.
Props: Props are set by the parent and which are settled all through the lifetime of a part.
...