mirror of https://github.com/jitsi/jitsi-meet
The goal will be to make video layout stateless and instead get all state from redux.pull/3077/merge
parent
6a1e9e256d
commit
c4b31435fb
@ -0,0 +1 @@ |
||||
import './middleware'; |
@ -0,0 +1,12 @@ |
||||
import { MiddlewareRegistry } from '../base/redux'; |
||||
|
||||
/** |
||||
* Middleware which intercepts actions and updates the legacy component |
||||
* {@code VideoLayout} as needed. The purpose of this middleware is to redux-ify |
||||
* {@code VideoLayout} without having to simultaneously react-ifying it. |
||||
* |
||||
* @param {Store} store - The redux store. |
||||
* @returns {Function} |
||||
*/ |
||||
// eslint-disable-next-line no-unused-vars
|
||||
MiddlewareRegistry.register(store => next => action => next(action)); |
Loading…
Reference in new issue