书栈网 · BookStack 本次搜索耗时 0.025 秒,为您找到 9896 个相关结果.
  • Refs & DOM

    Refs and the DOM 何时使用 Refs 勿过度使用 Refs 创建 Refs 访问 Refs 为 DOM 元素添加 ref 为 class 组件添加 Ref Refs 与函数组件 将 DOM Refs 暴露给父组件 回调 Refs 过时 API:String 类型的 Refs 关于回调 refs 的说明 Refs ...
  • 测试概览

    Testing Overview Tradeoffs Recommended Tools Learn More Testing Overview You can test React components similar to testing other JavaScript code. There are a few ways to tes...
  • Quickstart

    Quickstart tip Installation Installation Snippets Defining a router Create a router instance Add a query endpoint Add a mutation endpoint Next steps Quickstart tip We h...
  • JSX

    JSX Basic usage The as operator Type Checking Intrinsic elements Value-based elements Function Component Class Component Attribute type checking Children Type Checking T...
  • Performance

    811 2019-06-02 《Redux Document》
    Redux FAQ: Performance Table of Contents Performance How well does Redux “scale” in terms of performance and architecture? Further information Won't calling “all my reducers” fo...
  • Synthetic Events

    React中的 Synthetic 事件 参考资料: React中的 Synthetic 事件 React在处理事件(event时), 事实上使用了SyntheticEvent对象包裹了原生的event对象. 这些React自己维护的对象是相互联系的, 意味着如果对于某一个事件, 我们给出了对应的响应函数(handler), 其他的Synthet...
  • 生态系统

    2203 2018-02-14 《Redux 中文文档》
    生态系统 学习 Redux 演示 示例应用 教程与文章 演讲 使用 Redux 不同框架绑定 中间件 路由 组件 增强器(Enhancer) 工具集 开发者工具 开发者工具监听器 社区公约 翻译 更多 生态系统 Redux 是一个体小精悍的库,但它相关的内容和 API 都是精挑细选的,足以衍生出丰富的工具集和可扩展的...
  • Test Utilities

    750 2018-04-18 《React中文文档》
    Test Utilities Simulate renderIntoDocument mockComponent isElement isElementOfType isDOMComponent isCompositeComponent isCompositeComponentWithType findAllInRenderedTree s...
  • 静态类型检查

    静态类型检查 Flow 在项目中添加 Flow 从编译后的代码中去除 Flow 语法 Create React App Babel 其他构建工具设置 运行 Flow 添加 Flow 类型注释 TypeScript 在 Create React App 中使用 TypeScript 添加 TypeScript 到现有项目中 配置 TypeS...
  • LinkButton

    LinkButton variable LinkButton variable LinkButton variable LinkButton variable Signature LinkButton : React . ForwardRefExoticComponent < CommonProps & React . Button...