Move Razor component logic into code-behind files
This commit is contained in:
4
FAQ.md
4
FAQ.md
@@ -76,3 +76,7 @@ Authenticated application state and behavior were moved into `Components/Pages/W
|
||||
## Why is auth form state kept in `AuthSection` instead of `Home`?
|
||||
|
||||
Auth inputs, validation, and submit workflows are transient UI concerns, so they now live in `AuthSection`. `Home` keeps shared session/workspace state and cross-control refresh/orchestration only.
|
||||
|
||||
## Why are there `.razor.cs` files next to Razor components?
|
||||
|
||||
Component behavior was moved out of inline `@code` blocks into code-behind classes so `.razor` files stay markup-focused while state, parameters, handlers, and injected services live in typed C# files.
|
||||
|
||||
Reference in New Issue
Block a user