Comments (2)
因为目前小程序内置的组件化方案才能用 slot
,但是内置组件化不能通过 props
传函数,所以我们自己目前做的一套组件化系统可以传函数,但不能传组件。
文档也有写:
https://nervjs.github.io/taro/jsx.html
from taro.
明白了,谢谢。
from taro.
Related Issues (20)
- 4.x 版本的发布以哪个为准呢?能否统一一下? HOT 4
- Picker日期选择器支持修改日期格式 HOT 1
- 微信小程序转 Taro报错 HOT 1
- h5页面快速重复触发一个navigateTo会导致页面叠加可滚动展示之前的页面,且会对一个页面生成多个节点 HOT 1
- 微信小程序在Android平台,加载dayjs timezone插件后,dayjs.tz()转换时区时不生效
- @tarojs/plugin-http 插件中setCookie行为与web浏览器不一致
- 生成支付宝小程序时 customize-tab-bar 丢失
- 4.0.0-canary.13 react-native-harmony模版运行在鸿蒙中getStorage方法失效
- 4.0.0-canary.13 react-native-harmony模版 app.config.ts中window的navigationBarBackgroundColor设置失效
- 4.0beta版本 --watch 编译到H5 内存溢出 HOT 1
- 为什么官方模板【React Native】总是跑不动?而且都没人提,难道只是我一个人的问题? HOT 14
- (memoize.Cache || MapCache) is not a constructor 找不到项目配置文件config/index
- @tarojs/components ScrollView 未触发 onScrollStart、onScrollEnd HOT 1
- Taro3.x还支持基于Taro开发多端组件库吗
- 原生小程序中使用taro
- 3.6.29以后H5依赖预编译失败 HOT 4
- 抖音小程序交易组件全局方法getPhoneNumber不触发 HOT 1
- 如何在taro小程序中使用react开发的npm包,目前只能通过webview嵌套h5的方法实现
- windows下设置了alias编译不通过
- taro4.xx-beta版本配置vue3版本鸿蒙环境启动报错
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 taro.