<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # API 文檔 Redux 的 API 非常少。Redux 定義了一系列的約定(contract)來讓你來實現(例如 [reducers](#)),同時提供少量輔助函數來把這些約定整合到一起。 這一章會介紹所有的 Redux API。記住,Redux 只關心如何管理 state。在實際的項目中,你還需要使用 UI 綁定庫如 [react-redux](https://github.com/gaearon/react-redux)。 ### 頂級暴露的方法 - [createStore(reducer, [initialState])](#) - [combineReducers(reducers)](#) - [applyMiddleware(...middlewares)](#) - [bindActionCreators(actionCreators, dispatch)](#) - [compose(...functions)](#) ### Store API - [Store](#) - [getState()](#) - [dispatch(action)](#) - [subscribe(listener)](#) - [getReducer()](#) - [replaceReducer(nextReducer)](#) ### 引入 上面介紹的所有函數都是頂級暴露的方法。都可以這樣引入: #### ES6 ~~~ import { createStore } from 'redux'; ~~~ #### ES5 (CommonJS) ~~~ var createStore = require('redux').createStore; ~~~ #### ES5 (UMD build) ~~~ var createStore = Redux.createStore; ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看