38629b437d
Do the selection in mapStateToProps so the container itself doesn't need to receive all the props that each overlay needs. Each overlay is responsible for fetching their own props and for providing a "needsDisplay" static method wich will be called with the full redux state and should return true if the overlay needs displaying. Also eliminate duplicated state keeping: the connection and conference error states can be fetched from their respective base features. |
||
---|---|---|
.. | ||
components | ||
actionTypes.js | ||
actions.js | ||
index.js | ||
reducer.js |