-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done