您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

middleware.web.js 469B

123456789101112
  1. import { MiddlewareRegistry } from '../base/redux';
  2. /**
  3. * Middleware which intercepts actions and updates the legacy component
  4. * {@code VideoLayout} as needed. The purpose of this middleware is to redux-ify
  5. * {@code VideoLayout} without having to simultaneously react-ifying it.
  6. *
  7. * @param {Store} store - The redux store.
  8. * @returns {Function}
  9. */
  10. // eslint-disable-next-line no-unused-vars
  11. MiddlewareRegistry.register(store => next => action => next(action));