Redux middleware logger

Basicamente da documentação do middleware redux.js.org, mas com o objeto diff. store / store.js import logger from ‘../logging/logger’store = createStore( combineReducers({ reducer, routing: routerReducer }), compose(applyMiddleware(…middleware))) logging / logger.js import …

Continuar lendo

Redux Single Selection

<?phpif ($authority[‘header-style’] == ‘1’) { include (TEMPLATEPATH . ‘/functions/header-one.php’);} elseif ($authority[‘header-style’] == ‘2’) { include (TEMPLATEPATH . ‘/functions/header-two.php’);} elseif ($authority[‘header-style’] == ‘3’) { include (TEMPLATEPATH . ‘/functions/header-three.php’);} else { echo …

Continuar lendo