Projetos
Ver no GitHub
airbnb/goji-js
Sobre
React ❤️ Mini Program
Desenvolvimento web e de aplicativosO que você pode fazer
- Fully supports React
- Cross platforms ability
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalGojiJS
React ❤️ Mini Program
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:
- Baidu
- Alipay
- Toutiao
Demo
In GojiJS you can write React code like this:
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 (
<View className={styles.wrapped}>
<Text>{count}</Text>
<Button onClick={() => setCount(count + 1)}>+</Button>
</View>
);
};
render(App);
For more details, see GojiJS official documentation website.
Explore projetos relacionados
Carregando…