jiti-meet/react/features/subtitles
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 feat(subtitles): Disable for guests. 2020-05-28 13:43:18 -05:00
actionTypes.js chore: use strings as action types 2019-03-21 14:47:55 +01:00
actions.js independently display subtitles based on participants choice 2018-08-22 19:49:58 +02: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 ref: eslint-config-jitsi@1.0.3 2020-05-20 17:14:29 +02:00
reducer.js fix(subtitles): fix typo that was blowing away subtitles on update 2018-09-11 11:08:15 -07:00