1
1
[ ![ Build Status] ( https://github.com/openedx/frontend-platform/actions/workflows/ci.yml/badge.svg )] ( https://github.com/openedx/frontend-platform/actions/workflows/ci.yml )
2
2
[ ![ Codecov] ( https://img.shields.io/codecov/c/github/edx/frontend-platform )] ( https://codecov.io/gh/edx/frontend-platform )
3
- [ ![ NPM Version] ( https://img.shields.io/npm/v/@edx /frontend-platform.svg )] ( https://www.npmjs.com/package/@edx /frontend-platform )
4
- [ ![ npm_downloads] ( https://img.shields.io/npm/dt/@edx /frontend-platform.svg )] ( https://www.npmjs.com/package/@edx /frontend-platform )
5
- [ ![ license] ( https://img.shields.io/npm/l/@edx /frontend-platform.svg )] ( https://github.com/openedx/frontend-platform/blob/master/LICENSE )
3
+ [ ![ NPM Version] ( https://img.shields.io/npm/v/@openedx /frontend-platform.svg )] ( https://www.npmjs.com/package/@openedx /frontend-platform )
4
+ [ ![ npm_downloads] ( https://img.shields.io/npm/dt/@openedx /frontend-platform.svg )] ( https://www.npmjs.com/package/@opeedx /frontend-platform )
5
+ [ ![ license] ( https://img.shields.io/npm/l/@openedx /frontend-platform.svg )] ( https://github.com/openedx/frontend-platform/blob/master/LICENSE )
6
6
[ ![ semantic release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
7
7
8
8
# Overview
@@ -13,11 +13,11 @@ frontend-platform is a modest application framework for Open edX micro-frontend
13
13
14
14
| Service | Module location |
15
15
| ------------------------------------| ----------------------------------|
16
- | Analytics | @edx /frontend-platform /analytics |
17
- | Logging | @edx /frontend-platform /logging |
18
- | Authenticated API client (auth) | @edx /frontend-platform /auth |
19
- | Internationalization (i18n) | @edx /frontend-platform /i18n |
20
- | Misc (init, config, pubSub, utils) | @edx /frontend-platform |
16
+ | Analytics | @openedx /frontend-platform /analytics |
17
+ | Logging | @openedx /frontend-platform /logging |
18
+ | Authenticated API client (auth) | @openedx /frontend-platform /auth |
19
+ | Internationalization (i18n) | @openedx /frontend-platform /i18n |
20
+ | Misc (init, config, pubSub, utils) | @openedx /frontend-platform |
21
21
22
22
-------------------------------------------------------------------------
23
23
@@ -101,7 +101,7 @@ initialize({
101
101
When using runtime configuration via ` mergeConfig ` noted above, ` getConfig ` must be called within a component's render lifecycle for the added keys and values to be returned in the configuration object. If ` getConfig ` is called outside of a component's render lifecycle, the custom configuration key/value pairs will not initially be part of the object returned by ` getConfig ` . For example:
102
102
103
103
``` jsx
104
- import { getConfig } from ' @edx /frontend-platform/config' ;
104
+ import { getConfig } from ' @openedx /frontend-platform/config' ;
105
105
106
106
// The runtime configuration `CUSTOM_VARIABLE` added in the above code snippet will not appear here. This is
107
107
// because `getConfig` is called before `mergeConfig` is executed to add the custom runtime configuration.
0 commit comments