golia-react
v1.0.2
Published
object-oriented client framework for react
Downloads
10
Readme
golia-react
object-oriented client framework of react
Installation
yarn add golia-react
Usage
completed guide is coming soon
- you can launch your webapp like following
import { BaseApp } from 'golia-react/base/BaseApp';
import { Server } from 'golia-react/server/Server';
window.app = new BaseApp();
app.init();
app.setServer( 'api-server', new Server( {
host: 'localhost',
port: 10000,
is_ssl: false,
} ) );
app.launch();
- a lot of util libraries inside
- use mobx to manage your component state
- use react-router to manage your route
- use
BaseComponent
instead ofReact.Component
, then you can use several new functions