SuperArtisMickens / TTP9-NowWithValidatedForms

Primarily to practice using Material UI Input elements to create form skeletons in React, within the framing of a mock informational website. Secondarily to practice implementing form validation in React.
0 stars 0 forks source link

missing key props on <BasicTable> #1

Open jonathan-chin opened 3 years ago

jonathan-chin commented 3 years ago

when serving (running npm start) the project, I get a few warnings about the key prop, I believe related to the BasicTable component. make sure that if you are using a .map() or other iterative function to generate components that each has a unique key prop. this can be as simple as an incremented variable.

this is just a warning so it doesn't prevent your app from compiling / running, but it greatly impedes efficiency. you would need to fix this if you were going to make this a production ready app.

SuperArtisMickens commented 3 years ago

Indeed.