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
Instead of using defer: true globally, the layout now conditionally
uses async: true for optimal performance on pages without Redux shared
stores, and defer: true only for pages that need it.
Changes:
- Added uses_redux_shared_store? helper method to ApplicationController
- Updated layout to conditionally use async/defer based on page type
- Pages using Redux shared stores: defer: true (9 pages)
- All other pages: async: true (recommended approach)
Benefits:
- Modern pages get optimal TTI with async: true
- Redux pages still work correctly with defer: true
- Demonstrates best practice: use async unless you need defer
This allows CI to pass while maximizing async usage across the app.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments