gzqby / dva-lite

dva-lite is writing effects with async function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dva-lite is a toy of redux-middleware now. Be careful using in proction environment

Usage

install

git clone git@github.com:zgoby/dva-lite.git // Yeaah, it's toy now, no npm-module

API

const app = dva();

app.use(`somePlugin`);

app.model(`model`);

// APP is used ReactDOM.render(APP,...);
app.route(`APP`)

// app is mounted in element
app.start(`element`)

About

dva-lite is writing effects with async function


Languages

Language:TypeScript 81.2%Language:JavaScript 18.8%