https://github.com/alipay/goldfish
A development framework for Alipay Mini Program.
https://github.com/alipay/goldfish
composition-api goldfish mini-program typescript
Last synced: 11 months ago
JSON representation
A development framework for Alipay Mini Program.
- Host: GitHub
- URL: https://github.com/alipay/goldfish
- Owner: alipay
- License: mit
- Created: 2019-10-28T05:51:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T10:35:52.000Z (about 2 years ago)
- Last Synced: 2025-03-04T23:38:12.177Z (11 months ago)
- Topics: composition-api, goldfish, mini-program, typescript
- Language: TypeScript
- Homepage: https://alipay.github.io/goldfish/
- Size: 4.87 MB
- Stars: 80
- Watchers: 9
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Goldfish

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](https://vue-composition-api-rfc.netlify.com/)).
- 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](https://vue-composition-api-rfc.netlify.com/), 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](https://webpack.js.org/guides/tree-shaking/), the useless codes will be fully shaken away.
### Production
| Refund | Passion Made Possible | Currency Exchange |
|-----------|--------|---------|
|
|
|
|
### Documentation
To check out docs, visit [https://alipay.github.io/goldfish/](https://alipay.github.io/goldfish/).
### License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2019-present, Alipay.