Skip to content

Commit 8f3fcee

Browse files
justin808claude
andcommitted
Remove unused ProUtils module
After inlining immediate_hydration_enabled?, the ProUtils module only contains a single method (support_pro_features?) that is not used anywhere in the codebase. This commit removes the entire module as dead code. Changes: - Delete lib/react_on_rails/pro_utils.rb - Remove require "react_on_rails/pro_utils" from render_options.rb This simplifies the codebase by removing an unnecessary abstraction layer. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent e36b220 commit 8f3fcee

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

lib/react_on_rails/pro_utils.rb

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/react_on_rails/react_component/render_options.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# frozen_string_literal: true
22

33
require "react_on_rails/utils"
4-
require "react_on_rails/pro_utils"
54

65
module ReactOnRails
76
module ReactComponent

0 commit comments

Comments
 (0)