in ReactJS by
edited by
Which of the following statement is true for uncontrolled components in React.js?

a) The source of truth is DOM.

b) The source of truth is a component state.

c) The source of truth can be anything.

d) None of the above.

1 Answer

0 votes
by

A is the correct answer. For uncontrolled components in React.js, the source of truth is component DOM.

...