/
githubmirror
/
wp-calypso
Обзор
Документация
Войти
/
githubmirror
/
wp-calypso
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
client/state/reducer.js
22 строки
858 B
Jarda Snajdr
Remove http-data framework (#60886)
07 фев 2022, 18:49
Не верифицирован
07 фев 2022, 18:49
10ace77
Код
Авторство
О чём код?
// The eslint configuration below helps prevent new legacy reducers from being added. // See `docs/modularized-state.md` to learn more about modularized state. /*eslint no-restricted-imports: ["error", { "patterns": ["./*\/reducer*", "state/*\/reducer*"] }]*/ import { combineReducers } from 'calypso/state/utils'; import currentUser from './current-user/reducer'; // eslint-disable-line no-restricted-imports import { reducer as dataRequests } from './data-layer/wpcom-http/utils'; import sites from './sites/reducer'; // eslint-disable-line no-restricted-imports // Legacy reducers // The reducers in this list are not modularized, and are always loaded on boot. // Please do not add to this list. See #39261 and p4TIVU-9lM-p2 for more details. const reducers = { currentUser, dataRequests, sites, }; export default combineReducers( reducers );