0

How to save the new data in already existing table

In an web application, we need create a text box, whatever the data entered in text box should save the data in already existing table

21st Mar 2022, 12:40 PM
Likitha Narsini
Likitha Narsini - avatar
2 Answers
21st Mar 2022, 1:13 PM
CalviŐČ
CalviŐČ - avatar
0
Okay you can ** first create state variables to serve as the database **then populate the state with the values from the database using useEffect **then you set the onChange attribute in the textbox to a callback function which update the state ** then a send button should send the state
21st Mar 2022, 1:25 PM
Faisal Issaka
Faisal Issaka - avatar