Skip to content

Commit 35aa83f

Browse files
committed
Update attribute routing coverage and README stats
Corrected the number of supported RouteConfig properties in ATTRIBUTE_ROUTING.md from 12 to 13 and updated the README to reflect 11 attribute types instead of 9 for attribute routes.
1 parent 0fefc0e commit 35aa83f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ATTRIBUTE_ROUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ The following table shows which `RouteConfig` properties are supported via attri
575575
| `ComponentLoader` | ❌ No | N/A | Requires async lambda - use programmatic config |
576576
| `Children` | ❌ No | N/A | Complex hierarchies - use programmatic config |
577577

578-
**Coverage:** 11 out of 12 `RouteConfig` properties are supported via attributes (92% coverage).
578+
**Coverage:** 11 out of 13 `RouteConfig` properties are supported via attributes (92% coverage).
579579

580580
The two unsupported properties (`ComponentLoader` and `Children`) require complex programmatic logic that cannot be expressed declaratively through attributes. For these scenarios, use traditional programmatic `RouteConfig` objects.
581581

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Blazouter addresses the limitations of traditional Blazor routing:
3232
| Layout System | ✔ Component composition | ⚠️ Static @layout | ✅ Dynamic per-route with priority |
3333
| Nested Routes | ✔ Easy to define child routes | ❌ Limited, single level with `@page` | ✅ Unlimited nesting with RouterOutlet |
3434
| Error Handling | ✔ Error boundaries | ❌ Manual | ✅ Built-in IRouterErrorHandler |
35-
| Attribute Routes | ✔ JSX-based |@page only |9 attribute types with full config |
35+
| Attribute Routes | ✔ JSX-based |@page only |11 attribute types with full config |
3636
| Dynamic Params | ✔ Easy route parameters | ✔ Available but basic | ✅ Enhanced with RouterStateService |
3737
| Route Transitions | ✔ Very easy | ❌ No native support | ✅ 14 built-in transition types |
3838
| Route Middleware | ✔ Route-level middleware | ❌ No native support | ✅ Built-in IRouteMiddleware interface |

0 commit comments

Comments
 (0)