-
⚠️ Don't fork this repository. Use the "Use this template" green GitHub button. -
Put your bindings in
src/ReactNativeSomething
& rename accordingly or usebsconfig.json
"namespace"
field (more on this below), -
Update all occurences of
@reason-react-native/__template__
https://github.com/reason-react-native/__template__
__template__
@react-native-community/something
https://github.com/react-native-community/something
ReactNativeSomething
. If you have more than a file exposed, you should consider using BuckleScript custom namespace by adjustingbsconfig.json
and adding a"namespace": "react-native-something"
(note that it will be converted toReactNativeSomething
)
-
Add your
@react-native-community/something
(adjusted) inpeerDependencies
&devDependencies
section -
Adjust the changelog (and/or clean it)
-
Remove this part ⬆ & keep everything below ⬇
ReasonML /
BuckleScript bindings for
@react-native-community/something
.
Exposed as ReactNativeSomething
module.
@reason-react-native/__template__
X.y._ means it's compatible with
@react-native-community/something
X.y._
When
@react-native-community/something
is properly installed & configured by following their installation instructions,
you can install the bindings:
npm install @reason-react-native/__template__
# or
yarn add @reason-react-native/__template__
@reason-react-native/__template__
should be added to bs-dependencies
in your
bsconfig.json
. Something like
{
//...
"bs-dependencies": [
"reason-react",
"reason-react-native",
// ...
+ "@reason-react-native/__template__"
],
//...
}
...
...
Check the changelog for more informations about recent releases.
Read the contribution guidelines before contributing.
We want this community to be friendly and respectful to each other. Please read our full code of conduct so that you can understand what actions will and will not be tolerated.