jiti-meet/react/features/welcome
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 redux: refactor loading of middlewares and reducers 2020-06-16 11:24:15 +02:00
actionTypes.js chore: use strings as action types 2019-03-21 14:47:55 +01:00
actions.js [RN] Change default WelcomeScreen tab and persist user choice (coding style) 2018-06-18 15:42:09 -05:00
functions.js feature-flags: initial implementation 2019-06-11 13:37:50 +00:00
index.js redux: refactor loading of middlewares and reducers 2020-06-16 11:24:15 +02:00
reducer.js redux: move PersistenceRegistry to the redux feature 2020-06-16 11:24:15 +02:00