anorudes / redux-easy-boilerplate

React redux easy boilerplate
MIT License
633 stars 123 forks source link

Patch footer #18

Closed jsbUSMC closed 8 years ago

jsbUSMC commented 8 years ago

React threw a warning when rendering the Footer without using a key prop. The current Footer class contains the function renderGitHubFollowButton() and maps the AUTHORS const returning the two buttons for the authors of the library. I have changed the const to contain an id field, and use this id as the key in a div that wraps the old function's returned jsx. I have changed the contents of the template strings to reflect "author.name" in the relevant places as well.

anorudes commented 8 years ago

Thanks bro :+1:

keske commented 8 years ago

Better way: https://github.com/anorudes/redux-easy-boilerplate/commit/3303828439ac640faefa8d51e5111239783e4c21