ReScript bindings to react-intl
npm install rescript-react-intl
[ReScript] bindings to [react-intl].
To extract messages from [ReScript] source files for localization, use [rescript-react-intl-extractor].
``shellyarn
yarn add rescript-react-intl
Note: If you need version of the bindings that still supports the old Reason syntax, use the old package name
bs-react-intl instead.Examples
Clone this repo.
`shell
yarn install
yarn start
`Status
rescript-react-intl should cover all of the [react-intl] 3.0.0 API. If you find anything missing, please file an issue.
Usage
examples` folder.[rescript]: https://rescript-lang.org
[react-intl]: https://github.com/formatjs/react-intl
[rescript-react-intl-extractor]: https://github.com/cca-io/rescript-react-intl-extractor