Git Product home page Git Product logo

Comments (3)

LastLeaf avatar LastLeaf commented on June 19, 2024

首先 glass-easel 核心模块并不想与编译链路耦合。 glass-easel-miniprogram-adapter 才是与编译链路结合的(所以 Component() 不能传 is )。

另外,虽然没有明说,有些特性指定了 is 时才能使用,比如组件需要递归引用自身的时候(毕竟你不可能在 using 里面放自身 defineComponent 的结果)。

from glass-easel.

dhlolo avatar dhlolo commented on June 19, 2024

答案我是接受的,但实际上如果真要上线,从应用开发者角度来说,写法上来说会显得有点多余,尤其是在react等框架 珠玉在前 的情况下,react中的jsx一开始也是非js原生支持的,加入一点单独的编译链路对提升开发体验还是很有帮助的。

from glass-easel.

LastLeaf avatar LastLeaf commented on June 19, 2024

那就用 glass-easel-miniprogram-adapter 就可以了。核心模块不适合与编译链路耦合。

from glass-easel.

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.