Tina.js is a small progressive framework for WeChat mini programs that keeps most of the official MINA API while adding optional plugins and build tooling.
Overview
Tina.js is a lightweight, progressive framework for building WeChat mini programs. Its API design largely follows the official MINA framework, so developers with prior mini program experience can adopt it without a steep learning curve.
The core runtime stays small after packaging, and optional extensions cover state management patterns similar to Redux, Immutable.js integration, and routing enhancements. Teams can also write custom plugins when they need behavior beyond the bundled set.
When paired with mina-webpack, projects gain single-file Mina components and pages, npm package reuse—including shareable Mina components—and typical webpack tooling such as Babel, PostCSS, and minification.
Documentation and guides are published at tina.js.org. Real-world mini programs built with Tina.js are showcased publicly, including consumer-facing apps distributed on WeChat.
Key features
- MINA-compatible API surface
- Small packaged core runtime
- Optional Redux-style state management
- Immutable.js and routing plugins
- Custom plugin support
- mina-webpack single-file components
- npm packages for mini programs
- Babel and PostCSS in the build chain
Use cases
- WeChat mini program development
- Migrating from official MINA APIs
- Component sharing via npm
- Progressive feature adoption
- Webpack-based mini program builds