We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to put dynamic data to items prop without using {"id":1,"name":React} as key
I got different JSON as it is from Backed Response it doesnt have key as id and name as items are not visible in the list
The text was updated successfully, but these errors were encountered:
The same question
Sorry, something went wrong.
you can use map function let taskType = this.props.data.tasks.taskType.map((name,index)=>{ return ({name: ${name},id: ${index}}) }) ;
${name}
${index}
where we should use this in index file
No branches or pull requests
how to put dynamic data to items prop without using {"id":1,"name":React} as key
I got different JSON as it is from Backed Response it doesnt have key as id and name as items are not visible in the list
The text was updated successfully, but these errors were encountered: