htmxRazor 1.2.0 ships three major features for .NET developers building server-rendered apps with htmx. First, a built-in toast notification system using the <rhx-toast-container> Tag Helper and server-side HxToast() methods, with auto-dismiss, severity variants, stacking, and screen reader support — no JavaScript required. Second, an <rhx-pagination> component that handles page buttons, ellipsis, and htmx-powered partial updates out of the box. Third, all component CSS is now wrapped in CSS @layer declarations, eliminating specificity conflicts with existing stylesheets and making brownfield adoption much easier. Additional additions include an <rhx-live-region> ARIA live region manager for accessibility during htmx swaps, View Transitions API support via new attributes, and full hx-on:* event handler support for htmx 2.x.
Table of contents
htmxRazor 1.2.0: Toast Notifications, Pagination, and the End of CSS Specificity FightsToast Notifications That Actually Work with htmxPagination Built for htmxCSS Cascade Layers: No More Specificity WarsAccessibility: ARIA Live Region ManagerView Transitions and hx-on:* SupportUpgrade NowDebugging Entity Framework Core: 8 Real-World Query Anti‑Patterns (and How to Fix Them)Managing Client Sessions: Tracking and Personalizing ConnectionsLeave A Comment Cancel replySort: