0 votes
384 views
in Javascript by (3.5k points)
edited

What kind of information controls a segment in React?

1 Answer

0 votes
by (3.5k points)
edited

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.

Related questions

0 votes
1 answer 330 views
0 votes
1 answer 395 views
0 votes
1 answer 413 views
asked Aug 19, 2022 in Javascript by codelikepro (3.5k points)
0 votes
1 answer 346 views
asked Aug 19, 2022 in Javascript by codelikepro (3.5k points)
0 votes
1 answer 321 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

Recent Badges

Doubtly Earned a badge
Doubtly Earned a badge
MrRam Earned a badge

5.7k questions

5.1k answers

108 comments

648 users

...