This is a work in progress and the API is not stable. May not be fit for use in production.
BlueRain OS
A modular, pluggable and cross-platform app framework. It is built on top of ReactXP (which utilizes ReactDOM for web and React Native for mobile).
Status
Whats New in v4
BlueRainOS now exports a getComponent method.
import { getComponent } from '@blueeast/bluerain-os;
you can get any component you have registered.
const View = getComponent<ViewProperties>('View');
and export it to use it anywhere in your app with BlueRainConsumer. or you can stick with the previous approach i.e.
const View = BR.Components.get('View')
or you can use ity directly
<BR.Components.View> anything </BR.Components.View>
under BlueRainConsumer.
Some components are already exported from module. you can use them simply by importing from @blueeast/bluerain-os like so
import { View, Text, List } from '@blueeast/bluerain-os'
Platforms
- Mobile (Android & iOS) with React Native through ReactXP
- Web with ReactDOM
- Desktop with ReactDOM & Electron
Features
- Apps Architecture
- Plugin Architecture
- Centralized Configurations
- Themes
- Event and Callbacks
- Server Side Rendering
- Routing through React Router 4
Other features through official plugins
- ️ Internationalization through react-intl
- State management through redux
- GraphQL integration through Apollo GraphQL Client
- Error Reporting through Sentry integration
Available plugins
| Name | Description | Dependency |
|---|---|---|
| Apollo | A fully-featured, production ready caching GraphQL client for every server or UI framework. Based on Apollo Client. | Redux |
| Internationalization | Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations. Based on react-intl. | Redux |
| Material UI | Adds Material UI theme Provider to BlueRain. | |
| React Router (v4) | React Router V4 and Redux integration. | Redux |
| Redux | Predictable state container for JavaScript apps. Based on Redux & React Redux. | |
| Redux DevTools | DevTools for Redux with hot reloading, action replay, and customizable UI. | Redux |
| Sentry (Coming Soon) | Sentry is a cross-platform crash reporting and aggregation platform. |
Badge
Let people know that your app is build using bluerain-os by including this badge in your readme.
[](https://github.com/blueeastcode/bluerain-os)