#2747: index.js
projectforge-webapp/src/reducers/list/index.js Модуль JavaScript, projectforge-webapp/src/reducers/list/index.js 10 строк · 8 кода · 0 комментариев · 2 пустых
Назначение: React webapp: index.js. index.js является частью приложения управления проектами с открытым исходным кодом ProjectForge.
Исходный код (первые 100 строк)
import { combineReducers } from 'redux';
import currentCategory from './currentCategory';
import categories from './categories';
const reducer = combineReducers({
currentCategory,
categories,
});
export default reducer;
История Git
d159e2f70 wip: перенос страницы списка на redux
d159e2f70
wip: перенос страницы списка на reduxd159e2f700965627120e8517abc3655148158840
diff --git a/projectforge-webapp/src/reducers/list/index.js b/projectforge-webapp/src/reducers/list/index.js
new file mode 100644
index 000000000..d4af584c4
--- /dev/null
+++ b/projectforge-webapp/src/reducers/list/index.js
@@ -0,0 +1,10 @@
+import { combineReducers } from 'redux';
+import currentCategory from './currentCategory';
+import categories from './categories';
+
+const reducer = combineReducers({
+ currentCategory,
+ categories,
+});
+
+export default reducer;