Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tolerance-go/weappx
🌱基于 redux 的轻量级小程序状态管理框架,适配原生小程序,wepy,taro
https://github.com/tolerance-go/weappx
immer redux redux-actions weapp wepy
Last synced: 5 days ago
JSON representation
🌱基于 redux 的轻量级小程序状态管理框架,适配原生小程序,wepy,taro
- Host: GitHub
- URL: https://github.com/tolerance-go/weappx
- Owner: tolerance-go
- License: mit
- Archived: true
- Created: 2018-04-13T16:57:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-29T06:02:49.000Z (about 6 years ago)
- Last Synced: 2024-05-22T05:41:27.799Z (6 months ago)
- Topics: immer, redux, redux-actions, weapp, wepy
- Language: JavaScript
- Homepage:
- Size: 502 KB
- Stars: 144
- Watchers: 6
- Forks: 19
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
- awesome-wechat-app - weappx - 基于 redux 的数据层管理框架 (工具)
- awesome-wechat-weapp - weappx - 基于 redux 的数据层管理框架 (工具)
- awesome-wechat-weapp - weappx - 基于 redux 的数据层管理框架 (工具)
README
# weappx
[![NPM version](https://img.shields.io/npm/v/weappx.svg?style=flat)](https://npmjs.org/package/)
[![Build Status](https://travis-ci.org/tolerance-go/weappx.svg?branch=master)](https://travis-ci.org/tolerance-go/weappx)
[![Coverage Status](https://coveralls.io/repos/github/tolerance-go/weappx/badge.svg?branch=master)](https://coveralls.io/github/tolerance-go/weappx?branch=master)
[![NPM downloads](http://img.shields.io/npm/dm/weappx.svg?style=flat)](https://npmjs.org/package/weappx)
[![Dependencies Status](https://david-dm.org/tolerance-go/weappx/status.svg)](https://david-dm.org/tolerance-go/weappx)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)# 升级方案
* [wepyx -> [email protected]](https://github.com/tolerance-go/wepyx/blob/master/docs/WEPYX.md)
* [[email protected] -> 2.x](https://github.com/tolerance-go/wepyx/blob/master/docs/WEAPPX2.md)如果有好的建议欢迎 issue 讨论 👏👏👏
# Install
开发环境支持安装 npm 依赖的话,直接使用命令安装即可
```zsh
npm install weappx
```原生小程序开发可以通过拷贝 git 项目中 `packages/xxx/dist` 中的 bundle 文件到实际项目中进行引用
# 框架接入DEMO
* [count(weapp原生小程序)](https://github.com/tolerance-go/wepyx/tree/master/examples/count-weapp)
* [count(wepy)](https://github.com/tolerance-go/wepyx/tree/master/examples/count)
* [todoMVC(wepy)](https://github.com/tolerance-go/wepyx/tree/master/examples/todo)
* [count(weapp-start)](https://github.com/tolerance-go/wepyx/tree/master/examples/count-weapp-start)
* [count(taro)](https://github.com/tolerance-go/wepyx/tree/master/examples/count-taro)# Feature
* 上手简单,仅需要了解 4 个 api
* 更易用的 action [派发方式](https://github.com/tolerance-go/wepyx/blob/master/docs/DISPATCHER.md)
* 更简单的数据处理[copy-on-write](https://en.wikipedia.org/wiki/Copy-on-write)
* 独立存在的事件中心
* 强大的 hook 机制# Links
* [Guide](https://github.com/tolerance-go/wepyx/tree/master/docs/GUIDE.md)
* [API](https://github.com/tolerance-go/wepyx/tree/master/docs/API.md)
* [Update Log](https://github.com/tolerance-go/weappx/blob/master/packages/weappx/CHANGELOG.md)
* [Contribution](https://github.com/tolerance-go/blog/issues/1#issue-313932480)# License
[MIT](https://tldrlegal.com/license/mit-license)