does anyone know how to get the React-hook-form data without the name? For example:
Currently the data comes like this:
{"message": "Fred Fliston"}
But, I just wanted to get the name:
Fred Fliston
Can someone help me?
Well I guess that you fetch the data from a file.
In this case, if the file name is data, for example:
console.log(data.message[0)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.