0 votes
in ReactJS by
retagged by
Which of the following statement is true for controlled components in React.js?

a) The source of truth is DOM.

b) The source of truth can be anything.

c) The source of truth is a component state.

d) None of the above.

1 Answer

0 votes
by

C is the correct option. For controlled components in React.js, the source of truth is a component state.

Related questions

0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
...