golia-react

1.0.2 • Public • Published

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 of React.Component, then you can use several new functions

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i golia-react

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

31.9 kB

Total Files

29

Last publish

Collaborators

  • lihaooo