JustUtahCoders / utahexpungements.org

The frontend code for utahexpungements.org
MIT License
11 stars 19 forks source link

Capitalizing React component's name #89

Closed joeldenning closed 4 years ago

joeldenning commented 4 years ago

React component functions should be capitalized. It's actually required to do so if your component is a named export from the file because JSX requires capital letters for react components. However, for default exported components it isn't required because it gets renamed when the person imports it. However, it's just a really strong convention in the React community to do this anyway, so I am creating this PR to fix it.