Skip to content
프로젝트

소개

React ❤️ Mini Program

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • Fully supports React
  • Cross platforms ability

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

GojiJS

Goji Core Goji CLI Create Goji App

React ❤️ Mini Program

中文文档

English Documentation

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:

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.

관련 프로젝트 살펴보기

불러오는 중…