freeCodeCamp / league-for-good

An open source sports league management tool
BSD 3-Clause "New" or "Revised" License
163 stars 106 forks source link

Refactor CreateLeagueButton (crashing error) #95

Closed domwakeling closed 6 years ago

domwakeling commented 6 years ago

On initial fork/clone of the repo, CreateLeagueButton.js caused crashing errors

This commit

The README is also extended to

Not sure whether this pull request is strictly in line with the contributing guidelines ...

makkoli commented 6 years ago

@domwakeling Hey, the way you did the pull request is good. I just have a couple of comments on the files you changed. If you are making components that don't have any state, just make them stateless components. https://toddmotto.com/stateless-react-components/ Thanks bud.

domwakeling commented 6 years ago

CreateLeagueButton & CreateLeagueIcon re-written as stateless components