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
Type Accuracy Fixes:
- Change Configuration#initialize raise_on_prerender_error from bool to bool?
to allow nil values (matches actual implementation)
- Replace String return types with safe_buffer type alias for methods that
return html_safe strings (ActiveSupport::SafeBuffer):
- Helper: react_component, react_component_hash, redux_store,
redux_store_hydration_data, server_render_js
- Controller: redux_store_hydration_data
- Private helpers: build_react_component_result_for_server_rendered_string,
build_react_component_result_for_server_rendered_hash,
prepend_render_rails_context
Infrastructure Improvements:
- Improve rake task error handling with explicit case statement for nil
(handles cases where RBS command is not found)
- Add rubocop disable directive for Metrics/BlockLength in rbs.rake
The safe_buffer type alias (= String) documents that these methods return
html_safe strings while maintaining RBS compatibility without requiring
ActiveSupport type definitions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments