/goldfish

A development framework for Alipay Mini Program.

Primary LanguageTypeScriptMIT LicenseMIT

Goldfish (WIP)

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

Documentation

To check out docs, visit https://alipay.github.io/goldfish/.

License

MIT

Copyright (c) 2019-present, Alipay.