Norbi
11/12/2021, 1:19 PMInput
usage style: controlled or uncontrolled? How can I decide?Akif Abasov [JB]
11/12/2021, 1:36 PMOliver.O
12/01/2021, 3:09 PMAkif Abasov [JB]
12/01/2021, 3:50 PMSince an uncontrolled component keeps the source of truth in the DOM, it is sometimes easier to integrate React and non-React code when using uncontrolled components. It can also be slightly less code if you want to be quick and dirty. Otherwise, you should usually use controlled components.
Oleksandr Karpovich [JB]
12/01/2021, 4:00 PMOliver.O
12/01/2021, 5:04 PMfalse
.