Skip to content

Commit 5077638

Browse files
committed
and one more instance var rename
1 parent fea97fc commit 5077638

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ruby/hyper-component/lib/hyperstack/component.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ def component_will_receive_props(next_props)
7878
# need to rethink how this works in opal-react, or if its actually that useful within the react.rb environment
7979
# for now we are just using it to clear processed_params
8080
observing(immediate_update: true) { run_callback(:before_receive_props, next_props) }
81-
@_receiving_props = true
81+
@__hyperstack_component_receiving_props = true
8282
end
8383

8484
def component_will_update(next_props, next_state)
8585
observing { run_callback(:before_update, next_props, next_state) }
86-
params._reset_all_others_cache if @_receiving_props
87-
@_receiving_props = false
86+
params._reset_all_others_cache if @__hyperstack_component_receiving_props
87+
@__hyperstack_component_receiving_props = false
8888
end
8989

9090
def component_did_update(prev_props, prev_state)

0 commit comments

Comments
 (0)