Skip to content

Commit 383fda1

Browse files
rename stream_react_component_internal to internal_stream_react_component
1 parent aa3928e commit 383fda1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/react_on_rails/helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def react_component(component_name, options = {})
9393

9494
def stream_react_component(component_name, options = {})
9595
rendering_fiber = Fiber.new do
96-
stream = stream_react_component_internal(component_name, options)
96+
stream = internal_stream_react_component(component_name, options)
9797
stream.each_chunk do |chunk|
9898
Fiber.yield chunk
9999
end
@@ -352,7 +352,7 @@ def load_pack_for_generated_component(react_component_name, render_options)
352352

353353
private
354354

355-
def stream_react_component_internal(component_name, options = {})
355+
def internal_stream_react_component(component_name, options = {})
356356
options = options.merge(stream?: true)
357357
result = internal_react_component(component_name, options)
358358
build_react_component_result_for_server_streamed_content(

0 commit comments

Comments
 (0)