@angular-architects/native-federation 19.0.14 → 19.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ Native Federation is a "browser-native" implementation of the successful mental
|
|
|
14
14
|
- ✅ Easy to configure: We use the same API and Schematics as for our Module Federation plugin
|
|
15
15
|
- ✅ Blazing Fast: The reference implementation not only uses the fast esbuild; it also caches already built shared dependencies.
|
|
16
16
|
- ✅ Supports Angular SSR and Incremental Hydration (since 18@latest)
|
|
17
|
+
- ✅ Supports Angular I18N (since 19.0.13)
|
|
17
18
|
|
|
18
19
|
## Prerequisite
|
|
19
20
|
|
|
@@ -336,15 +337,15 @@ Now, by clicking at the 2nd menu item, you can load the remote directly into the
|
|
|
336
337
|
|
|
337
338
|
## Advanced Use Cases
|
|
338
339
|
|
|
339
|
-
|
|
340
|
+
### SSR and Hydration
|
|
340
341
|
|
|
341
342
|
We support Angular's SSR and (Incremental) Hydration. Please find [more information here](https://www.angulararchitects.io/blog/ssr-and-hydration-with-native-federation-for-angular/).
|
|
342
343
|
|
|
343
|
-
|
|
344
|
+
### Native Federation and Module Federation
|
|
344
345
|
|
|
345
346
|
We support combining Native Federation with Module Federation. Please find [more information here](https://www.angulararchitects.io/blog/combining-native-federation-and-module-federation/).
|
|
346
347
|
|
|
347
|
-
|
|
348
|
+
### Angular I18N
|
|
348
349
|
|
|
349
350
|
Since version 19.0.13, Native Federation for Angular supports Angular I18N. Here are some things to keep in mind:
|
|
350
351
|
|
|
@@ -352,7 +353,7 @@ Since version 19.0.13, Native Federation for Angular supports Angular I18N. Here
|
|
|
352
353
|
- Configure I18N in your `angular.json`. Don’t use command line parameters (as the Native Federation Builder does not forward them to the ApplicationBuilder by design)
|
|
353
354
|
- In production, make sure your `federation.manifest.json` points to the right language versions of your remotes
|
|
354
355
|
|
|
355
|
-
|
|
356
|
+
### Angular Localization
|
|
356
357
|
|
|
357
358
|
To just build the localization files you need for federation, you can use the `shareAngularLocales` introduced with version 19.0.14:
|
|
358
359
|
|