facebookarchive / react-meteor

React rendering for Meteor apps
948 stars 113 forks source link

2 warnings in browser console when running latest meteor `version 1.1.0.2` #59

Open giantelk opened 9 years ago

giantelk commented 9 years ago

Get these 2 warnings in browser console when running latest meteor version 1.1.0.2

Warning: Each child in an array or iterator should have a unique "key" prop. Check the React.render call using <div>. See http://fb.me/react-warning-keys for more information.
react-with-addons-0.13.0.js:21554 

Warning: React.addons.classSet will be deprecated in a future version. See http://fb.me/react-addons-classset
jedwards1211 commented 9 years ago

Has nothing to do with meteor. Use classnames instead of classSet. And I won't go into detail about the other warning but you'll have to get a solid understanding of when key props are necessary in React. Follow the link it gives you...that should explain