jiti-meet/react/features/etherpad
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 ref: eslint-config-jitsi@1.0.3 2020-05-20 17:14:29 +02:00
actionTypes.js etherpad: refactor to share code with mobile 2019-10-10 11:19:38 +02:00
actions.js etherpad: refactor to share code with mobile 2019-10-10 11:19:38 +02:00
constants.js ref: SharedDocument to JitsiModal 2020-04-07 11:18:50 +02:00
functions.js rn: add shared document support using Etherpad 2019-10-10 11:19:38 +02:00
index.js redux: refactor loading of middlewares and reducers 2020-06-16 11:24:15 +02:00
middleware.js ref: eslint-config-jitsi@1.0.3 2020-05-20 17:14:29 +02:00
reducer.js etherpad: refactor to share code with mobile 2019-10-10 11:19:38 +02:00