You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the typescript template with the following example no react/jsx-key error is displayed on the div in the loop.
constlist=[{id: 1,title: "test"},{id: 2,title: "test"},];functionApp(){return(<divclassName="App">{list.map((item)=>(// No linting error here for missing key<div>{item.title}</div>))}</div>);}exportdefaultApp;
Is this intended or is it something to do with Typescript? I noticed there is an error if I use plain JS
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
When using the typescript template with the following example no react/jsx-key error is displayed on the div in the loop.
Is this intended or is it something to do with Typescript? I noticed there is an error if I use plain JS
The text was updated successfully, but these errors were encountered: