Skip to content

Commit 80dcb1e

Browse files
authored
Merge pull request #15 from abc-utils/chore/documentation-update
chore: fixes typos in the package
2 parents ade27ce + 0f8187c commit 80dcb1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This package provides React compatible component as well as hook to load and render Module-federated micro-apps in dynamic way.
44

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.
66
- It automatically handles the scenario where multiple instances of remote app is consumed inside the host application.
77
- It provides easy to use react component and hook to use the imported modules from remote app.
88

@@ -31,9 +31,9 @@ import ModFedRemoteLoader from 'dynamic-module-federation'
3131
scope={/* The name of the remote application */}
3232
module={ /* The module from the remote app that you want to use Ex: "./Button" */}
3333
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. */}
3535
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 */ }
3737
>
3838
```
3939
It also allows to load modules from remote app through a hook. Use the hook useFederatedComponent for this purpose.

0 commit comments

Comments
 (0)