Skip to content

Commit 9ec5be4

Browse files
authored
feat: fallback component added for error scenario
feat: fallback component added for error scenario
2 parents 6c3c7c4 + 66cccd9 commit 9ec5be4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import ModFedRemoteLoader from 'dynamic-module-federation'
3333
loadingComponent={/* Optional. To show a loading screen while the remote module is getting loaded */}
3434
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+
fallbackComponent={/* Optional. To show a fallback component when loading of the remote app fails */}
3637
props={/* Optional. To add any optional parameters in the component */ }
3738
>
3839
```

0 commit comments

Comments
 (0)