I wanted to make a contribution to the rescript-react repo:
I have an issue that it looks like it might take a while for it to be resolved. But I have a solution ready to go in the form of a PR if I am allowed to push a branch to the repository. This is my issue: https://github.com/rescript-lang/rescript-react/issues/43
I also think it would be fun to contribute to this repo occasionally long-term. I wanted to get in touch with those who are currently maintaining/contributing to the repo.
Thanks!
1 Like
Hey @LukasDeco !
The normal flow on GitHub to contribute to a PR you’re not a part of yourself is to do the following:
- Hit “Fork” in the top right
-
Create a fork in your own account.
-
Perform your changes on a new branch in your own fork.
-
Your own repository will now say “your branch had recent pushes”, hit “Compare & pull request” in the right there.
- The base repository should be set to the rescript repository by default!
- Fill out the form and hit “Create pull request” at the bottom.
Your PR will now show up in the ReScript repository and can be merged there!
5 Likes
Wow thank you so much @Kingdutch! I followed your advice and created my dream PR: https://github.com/rescript-lang/rescript-react/pull/45
1 Like
Of course, there are already many open PRs!
Awesome! Don’t forget to look at the feedback that was given on your PR.
In ReScript rather than using a simple string we can do one better and use a Polymorphic Variant which will actually compile down to a string but helps the users of the components only provide valid values