Coder Social home page Coder Social logo

Rax语法支持JSX,但是所有的React API都被Rax替代,这样一些开源的React的库文件在Rax基本运行不起来,是否有这样的问题呢?比如我想引用一个React下比较成熟的框架到Rax中来,会报一些API错误 about rax HOT 1 CLOSED

alibaba avatar alibaba commented on May 4, 2024
Rax语法支持JSX,但是所有的React API都被Rax替代,这样一些开源的React的库文件在Rax基本运行不起来,是否有这样的问题呢?比如我想引用一个React下比较成熟的框架到Rax中来,会报一些API错误

from rax.

Comments (1)

yuanyan avatar yuanyan commented on May 4, 2024

技术上可以通过打包工具来定义rax包的别名,言下之意就是 require("react") 的代码会重定向到 require("rax"), 我们正在做这方面的工作

from rax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.