Unidirectional 数据 Flow
概念检查 中等
题目
In React, 哪个方向做 数据 flow 通过 Props?
提示
Think 关于谁 通过 Props and 谁接收它们.
解释
Props flow 顶部-下 (parent 到 child). 这个 unidirectional 数据 flow 制作 React apps predictable and easier 到调试. 到发送数据后面上, 你通过回调函数 as Props 那个 child calls — 但数据 still flows 下通过新 Props.
相关资源
相关课程
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。