reason-react
reason-react copied to clipboard
Minimal example on ReasonReact website has an unused variable "name"
The ReasonReact website (https://reasonml.github.io/reason-react/) has the following minimal example on the front page:
[@react.component]
let make = (~name) =>
<button>
{React.string("Hello!")}
</button>;
Here the prop name is not actually used.
Maybe it's an idea to change this to render something like {React.string("Hello" ++ name ++ "!")}?
😄
sounds great, would you send a PR on this? thanks
Okido, here you go: #640