Goldfish
A development framework for Alipay Mini Program.
Install / Use
/learn @alipay/GoldfishREADME
Goldfish
<a href="https://coveralls.io/github/alipay/goldfish"><img src="https://coveralls.io/repos/github/alipay/goldfish/badge.svg" /></a>
<img width="40" src="https://gw.alipayobjects.com/mdn/rms_2ed70a/afts/img/A*IpQYQY99EhsAAAAAAAAAAABkARQnAQ" />Goldfish is an enterprise level Alipay mini program development framework and can also be called the best practice of Alipay mini program development solution.
Features
- 🖇Response based state management.
- 📐Perfect TypeScript support and ultimate type hint.
- 🚀Composition API ready (refer to Vue Composition API).
- More flexible logic reuse.
- More powerful type inference.
- Smaller packaging size.
- 🕹Each module can be used independently without framework.
Why to use
- The introduction of reactivity system makes codes more expressive and saves plenty of state synchronization codes, so the state management is easier.
- In-depth support for TypeScript is added to the original Alipay mini program, improving greatly the development experience and productivity.
- Like the Vue Composition API, brand-new method is used for the organization of state logic codes. Compare to the traditional Redux-like state manage system, the boilerplate codes are near to nothing, and it is more friendly to TypeScript.
- With the function based coding style (Composition API) and inner supporting of Tree-Shaking, the useless codes will be fully shaken away.
Production
| Refund | Passion Made Possible | Currency Exchange | |-----------|--------|---------| | <img width="300" src="https://gw.alipayobjects.com/mdn/rms_2ed70a/afts/img/A*feo9TbxUOSoAAAAAAAAAAABkARQnAQ" /> | <img width="300" src="https://gw.alipayobjects.com/mdn/rms_2ed70a/afts/img/A*UWjDSJiiOHQAAAAAAAAAAABkARQnAQ" /> | <img width="300" src="https://gw.alipayobjects.com/mdn/rms_2ed70a/afts/img/A*2DWaRqSFoi4AAAAAAAAAAABkARQnAQ" /> |
Documentation
To check out docs, visit https://alipay.github.io/goldfish/.
License
Copyright (c) 2019-present, Alipay.
