Open
Description
Currently, frontend-platform requires MFEs to install redux
and react-redux
even if the MFE doesn't use Redux. frontend-platform renders an OptionalReduxProvider
component, where if no store
prop is passed to <AppProvider>
within the MFE, Redux's Provider
is not rendered.
However, for MFEs that opt to NOT use Redux (e.g., frontend-app-learner-portal-enterprise
), these peer dependencies are still required to install, even though they're not used.
Ideally, frontend-platform could denote these peer dependencies as being optional, handling it accordingly when the package is not installed.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In review