You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This package provides React compatible component as well as hook to load and render Module-federated micro-apps in dynamic way.
4
4
5
-
- It will dynamically import the repote applications and will only import the part of the remote application that is required.
5
+
- It will dynamically import the remote applications and will only import the part of the remote application that is required.
6
6
- It automatically handles the scenario where multiple instances of remote app is consumed inside the host application.
7
7
- It provides easy to use react component and hook to use the imported modules from remote app.
8
8
@@ -31,9 +31,9 @@ import ModFedRemoteLoader from 'dynamic-module-federation'
31
31
scope={/* The name of the remote application */}
32
32
module={ /* The module from the remote app that you want to use Ex: "./Button" */}
33
33
loadingComponent={/* Optional. To show a loading screen while the remote module is getting loaded */}
34
-
remoteEntryLoadedCallback={/* Optional. If we want to run some functions after the remote Entry file is loaded. The logging utilities can be added here. */}
34
+
remoteEntryLoadedCallback={/* Optional. If you want to run some functions after the remote Entry file is loaded. The logging utilities can be added here. */}
35
35
errorLogCallback={/* Optional. If we want to run any function in case of error while loading the remote module. The logging utilities can be added here */}
36
-
props={/* Optional. To add any optional parametrs in the component */ }
36
+
props={/* Optional. To add any optional parameters in the component */ }
37
37
>
38
38
```
39
39
It also allows to load modules from remote app through a hook. Use the hook useFederatedComponent for this purpose.
0 commit comments