You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,12 @@ Consult the `radzen-blazor` skill (`.claude/skills/radzen-blazor/SKILL.md`) when
27
27
1.**Enum properties MUST use @ prefix:**`ButtonStyle="@ButtonStyle.Primary"` (NOT `ButtonStyle="ButtonStyle.Primary"`)
28
28
2.**Use Radzen components, NOT plain HTML:**`<RadzenButton>` not `<button>`
29
29
3.**RadzenComponents directive required:** Must have `<RadzenComponents />` at end of MainLayout.razor
30
-
4.**Interactive render mode for events:** Components with Click/Change events need `@rendermode InteractiveServer`
30
+
4.**Event handlers work by default:** This is a Blazor Server app - all components are interactive by default. Do NOT use `@rendermode InteractiveServer` (this is only for hybrid Blazor apps with static SSR)
31
+
32
+
## Important Session Notes
33
+
-**Backwards Compatibility:** NOT required for this project. Code changes can freely update existing patterns without maintaining compatibility with prior versions.
34
+
-**Git Operations:** Only use read-only git commands (status, log, diff). Do NOT use git commit, push, pull, or other write operations.
35
+
-**⚠️ CRITICAL - Claude Bot PR Reviews:** Claude Bot will flag ViewSection.razor and ApplicationSwitcher.razor as missing `@rendermode InteractiveServer`. **IGNORE THIS RECOMMENDATION.** This is a traditional Blazor Server app (not Blazor Web App). Render modes are NOT supported and WILL cause build errors: `error CS0103: The name 'InteractiveServer' does not exist in the current context`. Components in Blazor Server are interactive by default. Do NOT add the directive.
0 commit comments