Skip to content
/ remax Public
forked from remaxjs/remax

使用真正的 React 构建小程序

License

Notifications You must be signed in to change notification settings

QC-L/remax

 
 

Repository files navigation

Remax

使用真正的 React 构建小程序。

Travis CI build status

开发中,请勿用于生产环境

Remax 将完整的 React 运行在小程序环境中,让你可以使用完整的 React 能力去开发小程序。

import * as React from 'react';
import { View, Text, Button } from 'remax';

export default () => {
   const [count, setCount] = React.useState(0);

  return (
    <View>
      <Text>You clicked {count} times</Text>
      <Button onClick={() => setCount(count + 1)}>
        Click me
      </Button>
    </View>
  );
}

查看完整的 Demo 示例 https://github.com/remaxjs/todo-demo

Roadmap

  • 🚧 支付宝小程序
  • 🤔 支付宝小程序组件库
  • 🤔 集成 umi,可以编译到 Web
  • 🤔 React Developer Tools
  • 🤔 微信小程序
  • 🤔 WeUI
  • 🤔 其他小程序

License

MIT

About

使用真正的 React 构建小程序

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.0%
  • HTML 1.8%
  • JavaScript 1.2%