@loozo/angular-router 0.0.4 → 0.0.6
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 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Angular still does all the routing: matching, activation, guards, resolvers, red
|
|
|
6
6
|
|
|
7
7
|
Use it when you want route params, query params and links to be type-checked end to end in an Angular 22 application, and you're happy to run generation through the provided Angular builders.
|
|
8
8
|
|
|
9
|
-
**Status:** experimental and not yet broadly battle-tested.
|
|
9
|
+
**Status:** experimental and not yet broadly battle-tested. MIT license.
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
@@ -529,7 +529,7 @@ Declarations look the same, but the builder never creates or edits them, and dir
|
|
|
529
529
|
|
|
530
530
|
The generated routes work with Angular SSR and `provideClientHydration` without extra setup; there's no transfer cache or custom renderer. Parsing is synchronous and resolvers keep Angular's stability pending, so server-rendered HTML contains parsed values and resolved data.
|
|
531
531
|
|
|
532
|
-
[`examples/angular-router/ssr-proof`](
|
|
532
|
+
[`examples/angular-router/ssr-proof`](https://github.com/theo-matzavinos/loozo/blob/angular-router@0.0.6/examples/angular-router/ssr-proof/README.md) is a working SSR app with a search fallback, a resolver, a redirect and hydration.
|
|
533
533
|
|
|
534
534
|
## What gets generated
|
|
535
535
|
|
|
@@ -591,9 +591,9 @@ To go back to native file events, set `"poll": false` in the serve target or one
|
|
|
591
591
|
|
|
592
592
|
## Further reading
|
|
593
593
|
|
|
594
|
-
- [`SPEC.md`](SPEC.md): the full contract, including every edge case
|
|
595
|
-
- [`examples/angular-router`](
|
|
596
|
-
- [`examples/angular-router/ssr-proof`](
|
|
594
|
+
- [`SPEC.md`](https://github.com/theo-matzavinos/loozo/blob/angular-router@0.0.6/packages/angular-router/SPEC.md): the full contract, including every edge case
|
|
595
|
+
- [`examples/angular-router`](https://github.com/theo-matzavinos/loozo/tree/angular-router@0.0.6/examples/angular-router): a minimal app using the builders
|
|
596
|
+
- [`examples/angular-router/ssr-proof`](https://github.com/theo-matzavinos/loozo/blob/angular-router@0.0.6/examples/angular-router/ssr-proof/README.md): SSR and hydration
|
|
597
597
|
|
|
598
598
|
## Developing this package
|
|
599
599
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loozo/angular-router",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Typed route declarations, URLs, navigation and route handles for Angular's native router.",
|
|
5
5
|
"bugs": "https://github.com/theo-matzavinos/loozo/issues",
|
|
6
6
|
"license": "MIT",
|