Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:07:56.000Z (over 1 year ago)
- Last Synced: 2024-05-01T21:28:58.270Z (5 months 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
[![NPM](https://nodei.co/npm/rescript-react-intl.png?compact=true)](https://nodei.co/npm/rescript-react-intl/)
![Build Status](https://github.com/cca-io/rescript-react-intl/workflows/CI/badge.svg)[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