Comments (2)
和那些编译型或者增强型不同,kbone 本身是一种适配器而已,提供了仿造的 dom 接口来适配 Web 接口,必要时我们可以在基础库上支持适配。
其他小程序目前不考虑支持,一是各个平台小程序特性或多或少都有些不同,耗费精力巨大,而且不一定效果好。二是对于一些特性(比如图片的渲染模式),我们可以从基础库层面支持的角度来考虑,但是其他平台要提需求就比较困难。
至于 native app,因为 kbone 本身是适配器,是从 Web 端代码 --> 小程序的转换,那么原本的 Web 端到 native 的方式按道理应该可以直接用的(因为已经和小程序无关了)。kbone 目前就专心于一点:Web 端代码 --> 微信小程序,其他部分转化交由已有的工具来做就可以了。
kbone 的开端,考虑的是提供一种方式用 Web 端的写法来写小程序,或者让一些已有的 Web 端代码可以跑到小程序上。它本身也是有局限性的,所以它并不是小程序的替代品,可以看成是小程序提供的针对某些场景的一种解决方案,它本身也是建立在小程序已经开放的功能上面实现的。
from kbone-template-react.
kbone有计划兼容native app吗?以及其他小程序。
from kbone-template-react.
Related Issues (8)
- 是否支持tsx? HOT 1
- 关于添加ant-mobile方面的问题 HOT 1
- 是否支持 material-ui 呢 HOT 2
- 是否支持React-Router和Redux? HOT 1
- 我把counter后缀改成jsx后打包就报错了,请问下怎么处理? HOT 1
- 增加miniprogramRoot和cloudfunctionRoot后遇到问题 HOT 1
- 不能新建 .jsx 文件 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kbone-template-react.