bara-react
Build Bara app using React, easily extensible and scalable without any fear of breaking build.
This library belongs to BaraJS Official Library, we build this for the next cross-platforms React app using the architect of reactive functional programming.
By using bara-react
, you're no longer need to maintain a wired codebase anymore. Build your apps feature by feature. You can quickly implement new features as your app expands or remove a feature when it's deprecated without touching other area of the project.
Installation
yarn add -E bara bara-react
or using NPM
npm i --save bara bara-react
Usage
In your main index.js
:
const myBaraReactApp = { }
In your React App App.jsx':
const App = { return <BaraProvider> <View> <Touchable name="welcome-button"> <Text>Hello Bara App!</Text> </Touchable> </View> </BaraProvider> }
Create another file called app-trigger.js
:
const useDisplayWelcomeMsgTrigger = { return }
Why I have to build my app this way?
- React is best of rendering.
- Bara is best of reactive functional programming.
- Easily create or remove a component without touching other business components.
- Easily plug and play with BaraJS ecosystem module.
- It's fun or ... not!
Contribute
License
MIT © BaraJS