Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moox/react-multiversal

React components that works everywhere (iOS, Android, Web, Node)
https://github.com/moox/react-multiversal

bucklescript react react-components react-native react-native-web reason reason-react reason-react-native reasonml

Last synced: 16 days ago
JSON representation

React components that works everywhere (iOS, Android, Web, Node)

Awesome Lists containing this project

README

        

# react-multiversal

[![Build Status](https://github.com/MoOx/react-multiversal/workflows/Build/badge.svg)](https://github.com/MoOx/react-multiversal/actions)

> React (native) components that works everywhere

⚠️ WIP

## Support

- **iOS** (requires `react-native`)
- **Android** (requires `react-native`)
- **Web** (requires `react-native-web`)
- **Node** (requires `react-native-web`)

## Requirements

- `rescript-react`
- `rescript-react-native`
- `@rescript-react-native/safe-area-context`

## Install

```console
npm install https://github.com/MoOx/react-multiversal
# or
yarn add https://github.com/MoOx/react-multiversal
```

`react-multiversal` should be added to `bs-dependencies` in your
`bsconfig.json`. Something like

```diff
{
//...
"bs-dependencies": [
"rescript-react",
"rescript-react-native",
"@rescript-react-native/safe-area-context",
// ...
+ "react-multiversal"
],
//...
}
```

---

## Changelog

Check the [changelog](./CHANGELOG.md) for more informations about recent
releases.

## Contribute

Read the [contribution guidelines](./CONTRIBUTING.md) before contributing.

## Code of Conduct

We want this community to be friendly and respectful to each other. Please read
[our full code of conduct](./CODE_OF_CONDUCT.md) so that you can understand what
actions will and will not be tolerated.