/**
* Creates a Redux store that holds the state tree.
* The only way to change the data in the store is to call `dispatch()` on it.
*
* There should only be a single store in your app. To specify how different
* parts of the state tree respond to actions, you may combine several reducers
* into a single reducer function by using `combineReducers`.
*
* @param {Function} reducer A function that returns the next state tree, given
* the current state tree and the action to handle.
*
* @param {any} [preloadedState] The initial state. You may optionally specify it
* to hydrate the state from the server in universal apps, or to restore a
* previously serialized user session.
* If you use `combineReducers` to produce the root reducer function, this must be
* an object with the same shape as `combineReducers` keys.
*
* @param {Function} [enhancer] The store enhancer. You may optionally specify it
* to enhance the store with third-party capabilities such as middleware,
* time travel, persistence, etc. The only store enhancer that ships with Redux
* is `applyMiddleware()`.
*
* @returns {Store} A Redux store that lets you read the state, dispatch actions
* and subscribe to changes.
*/
正確的js注釋規(guī)范
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
- 文/潘曉璐 我一進店門派殷,熙熙樓的掌柜王于貴愁眉苦臉地迎上來还最,“玉大人,你說我怎么就攤上這事毡惜⊥厍幔” “怎么了?”我有些...
- 文/不壞的土叔 我叫張陵虱黄,是天一觀的道長悦即。 經(jīng)常有香客問我,道長橱乱,這世上最難降的妖魔是什么辜梳? 我笑而不...
- 正文 為了忘掉前任,我火速辦了婚禮泳叠,結(jié)果婚禮上作瞄,老公的妹妹穿的比我還像新娘。我一直安慰自己危纫,他們只是感情好宗挥,可當(dāng)我...
- 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著种蝶,像睡著了一般契耿。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上螃征,一...
- 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼背率!你這毒婦竟也來了话瞧?” 一聲冷哼從身側(cè)響起嫩与,我...
- 正文 年R本政府宣布睛低,位于F島的核電站,受9級特大地震影響服傍,放射性物質(zhì)發(fā)生泄漏钱雷。R本人自食惡果不足惜,卻給世界環(huán)境...
- 文/蒙蒙 一吹零、第九天 我趴在偏房一處隱蔽的房頂上張望罩抗。 院中可真熱鬧,春花似錦灿椅、人聲如沸套蒂。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽操刀。三九已至,卻和暖如春婴洼,著一層夾襖步出監(jiān)牢的瞬間骨坑,已是汗流浹背。 一陣腳步聲響...
推薦閱讀更多精彩內(nèi)容
- 這8種學(xué)生永遠拿不到高分垂谢!早看早受益厦画! 下面是一位資深班主任總結(jié)了8種成績提不上去的原因,分別對應(yīng)8類孩子滥朱,如果你...
- 最近的“窮逼VIP”事件想必大家有所耳聞!詳細的我就不說了大家可以去看看缰犁,當(dāng)然了出于好奇淳地,我在網(wǎng)上也看到了很多的奇...
- 舒淇和馮德倫結(jié)婚了颇象。 新聞和評論里,大致是這樣的內(nèi)容: “等了二十年丰嘉,總算結(jié)婚找到幸福夯到。” “幸福會遲到饮亏,但不會缺...