Comments (2)
因为目前小程序内置的组件化方案才能用 slot
,但是内置组件化不能通过 props
传函数,所以我们自己目前做的一套组件化系统可以传函数,但不能传组件。
文档也有写:
https://nervjs.github.io/taro/jsx.html
from taro.
明白了,谢谢。
from taro.
Related Issues (20)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- [email protected]安装并初始化项目后,再安装Taro 3.3.0 无法install,跟taro-cli初始化的依赖包冲突 HOT 1
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 项目周报 (2024 年 4 月 27 日 - 2024 年 5 月 4 日)
- 使用taro init新建taro-ui模板的项目时有依赖问题 HOT 1
- InlinePaymentPanel 组件无法传入extInfos 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 taro.