https://github.com/airbnb/goji-js
React ❤️ Mini Program
https://github.com/airbnb/goji-js
miniapp react wechat-mini-program
Last synced: 5 months ago
JSON representation
React ❤️ Mini Program
- Host: GitHub
- URL: https://github.com/airbnb/goji-js
- Owner: airbnb
- License: mit
- Created: 2020-05-20T19:06:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-08-22T00:44:54.000Z (6 months ago)
- Last Synced: 2025-08-29T06:33:20.508Z (6 months ago)
- Topics: miniapp, react, wechat-mini-program
- Language: TypeScript
- Homepage: https://goji.js.org
- Size: 7.84 MB
- Stars: 235
- Watchers: 14
- Forks: 29
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# GojiJS



React ❤️ Mini Program
[中文文档](https://goji.js.org/zh/docs/get-started/introduction)
[English Documentation](https://goji.js.org/docs/get-started/introduction)
## Visions
GojiJS enables running React code on multi Mini Program platforms.
## Features
- Fully supports React
You can use the latest version of React in GojiJS. Features including class / functional components,
hooks, portal can work well on GojiJS.
- Cross platforms ability
For now, GojiJS supports these platforms:
- WeChat
- Baidu
- Alipay
- QQ
- Toutiao
## Demo
In GojiJS you can write React code like this:
```js
import React, { useState } from 'react';
import { View, Text, Button, render } from '@goji/core';
import styles from './index.css';
const App = () => {
const [count, setCount] = useState(0);
return (
{count}
setCount(count + 1)}>+
);
};
render(App);
```
For more details, see [GojiJS official documentation website](https://goji.js.org/).