Norbi11/12/2021, 1:19 PM
usage style: controlled or uncontrolled? How can I decide?
Akif Abasov [JB]11/12/2021, 1:36 PM
Oliver.O12/01/2021, 3:09 PM
Akif Abasov [JB]12/01/2021, 3:50 PM
Since 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 PM
Oliver.O12/01/2021, 5:04 PM