Asked by Sasikanth Inaganti about a year ago
hi for the todo app inorder to add new elements i was calling the input tag from document for every button click to use in the newly created element instead of using use state is that fine in react terminology. what are the disadvantages?
There are no disadvantages. You're just storing an object (JSX) in the state array. It should work fine too.