/
githubmirror
/
wp-calypso
Обзор
Документация
Войти
/
githubmirror
/
wp-calypso
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
client/state/reader/reducer.ts
13 строк
434 B
Gabriel Caires
Reader: Migrate Reader follows layer to React Query (#111267)
03 июн 2026, 12:06
Не верифицирован
03 июн 2026, 12:06
fbb8787
Код
Авторство
О чём код?
import { withStorageKey } from '@automattic/state-utils'; import { combineReducers } from 'calypso/state/utils'; import conversations from './conversations/reducer'; import saved from './saved/reducer'; import siteBlocks from './site-blocks/reducer'; const combinedReducer = combineReducers( { conversations, saved, siteBlocks, } ); const readerReducer = withStorageKey( 'reader', combinedReducer ); export default readerReducer;