-
Improvement
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Yes
-
6.2.1 Ramp-up 21
-
3
The React <Page> component should take a 'config' parameter instead of 'componentMappings'. The config parameter is an object, and for now supports only one subproperty - 'componentMappings'.
Update examples as well.
Reason:
The amount of configuration for the SPA libraries will definitely increase as we support additional features, such as personalization, multilanguage, AB-testing and so forth.
It will save us and project developers trouble if we implement a 'config' argument now which can be the vehicle for the 'componentMappings' , and easily support further parameters later.
This is a standard pattern for js libraries to accept all configuration in one JS object.
- is depended upon by
-
MGNLFE-24 DOC: Components and libraries renamed
- Closed