书栈网 · BookStack 本次搜索耗时 0.020 秒,为您找到 919 个相关结果.
  • Voice of Developers

    Voice of Developers Voice of Developers Removed moment.js to replace with date-fns - build output reduced by 40% —Jared Farago from webnode project. Make use of native Jav...
  • Mechanism

    Communication Mechanism Page internal communication Inter-page communication Refresh Mechanism 数据刷新 View refresh Communication Mechanism Page internal communication Com...
  • 状态管理

    状态管理 类 Flux 状态管理的官方实现 React 的开发者请参考以下信息 简单状态管理起步使用 状态管理 类 Flux 状态管理的官方实现 由于状态零散地分布在许多组件和组件之间的交互中,大型应用复杂度也经常逐渐增长。为了解决这个问题,Vue 提供 vuex (opens new window) :我们有受到 Elm 启发的状态管理库...
  • Router

    1881 2019-07-03 《DvaJS 开发手册》
    Router Route Components 通过 connect 绑定数据 Injected Props (e.g. location) 基于 action 进行页面跳转 Router Route Components Route Components 是指 ./src/routes/ 目录下的文件,他们是 ./src/router...
  • package.json

    package.json engines dependenciesMeta dependenciesMeta.*.injected peerDependenciesMeta peerDependenciesMeta.*.optional publishConfig publishConfig.executableFiles publishConf...
  • Page

    Page Page 一个页面内都有且仅有一个 Store Page 继承于 Component,所以它能配置所有 Component 的要素 Page 能配置 Middleware,用于对 Redux 做 AOP 管理 Page 必须配置一个初始化页面数据的初始化函数 initState 示例代码 /// Hello World c...
  • State Management

    State Management Official Flux-Like Implementation Information for React Developers Simple State Management from Scratch State Management Official Flux-Like Implementation...
  • Middleware

    Middleware Middleware The definition and signature of Middleware is consistent with the ReduxJS community. Sample Code Middleware < T > logMiddleware < T >({ String ta...
  • Synthetic Events

    Synthetic events in React Related links: Synthetic events in React Inside React event handlers, the event object is wrapped in a SyntheticEvent object.These objects are pooled...
  • Reducers 和纯函数

    Reducers 和纯函数 Reducers 和纯函数 Redux的核心概念之一是reducer。 reducer是一个带有签名 (accumulator: T, item: U) => T 的函数。通过Array.reduce 方法经常在JavaScript中使用Reducers ,该方法遍历每个数组的项目并累加一个值作为结果 。Reducers ...