https://github.com/cca-io/rescript-react-intl
ReScript bindings to react-intl
https://github.com/cca-io/rescript-react-intl
react-intl rescript
Last synced: 11 months ago
JSON representation
ReScript bindings to react-intl
- Host: GitHub
- URL: https://github.com/cca-io/rescript-react-intl
- Owner: cca-io
- License: mit
- Created: 2017-11-23T03:32:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:07:56.000Z (about 3 years ago)
- Last Synced: 2024-05-01T21:28:58.270Z (almost 2 years ago)
- Topics: react-intl, rescript
- Language: ReScript
- Homepage:
- Size: 911 KB
- Stars: 43
- Watchers: 5
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - rescript-react-intl - intl | cca-io | 42 | (ReScript)
README
# rescript-react-intl
[](https://nodei.co/npm/rescript-react-intl/)

[ReScript] bindings to [react-intl].
To extract messages from [ReScript] source files for localization, use [rescript-react-intl-extractor].
## Installation
```shell
# yarn
yarn add rescript-react-intl
# or npm
npm install --save rescript-react-intl
```
Note: If you need a 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
See [`examples`](./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