jiti-meet/react/features/device-selection
Saúl Ibarra Corretgé 6e679f952f redux: refactor loading of middlewares and reducers
Up until now we relied on implicit loading of middlewares and reducers, through
having imports in each feature's index.js.

This leads to many complex import cycles which result in (sometimes) hard to fix
bugs in addition to (often) breaking mobile because a web-only feature gets
imported on mobile too, thanks to the implicit loading.

This PR changes that to make the process explicit. Both middlewares and reducers
are imported in a single place, the app entrypoint. They have been divided into
3 categories: any, web and native, which represent each of the platforms
  respectively.

Ideally no feature should have an index.js exporting actions, action types and
components, but that's a larger ordeal, so this is just the first step in
getting there. In order to both set example and avoid large cycles the app
feature has been refactored to not have an idex.js itself.
2020-06-16 11:24:15 +02:00
..
components fix(UI): add playsinline attr for video element 2020-06-12 09:30:46 -04:00
actionTypes.js chore: use strings as action types 2019-03-21 14:47:55 +01:00
actions.js ref: eslint-config-jitsi@1.0.3 2020-05-20 17:14:29 +02:00
functions.js Fall back to using label for preferred devices (#4171) 2019-05-07 09:53:01 +01:00
index.js redux: refactor loading of middlewares and reducers 2020-06-16 11:24:15 +02:00
logger.js logging: use individual, names loggers 2019-08-23 10:57:38 +02:00
middleware.js fix(iframe-api-devices): Misc small issues. 2019-03-29 15:42:02 +00:00
reducer.js feat(device_selection): Implement popup 2017-06-07 09:23:40 -05:00