lib/hyperstack/internal/component/should_component_update.rb in hyper-component-1.0.alpha1.2 vs lib/hyperstack/internal/component/should_component_update.rb in hyper-component-1.0.alpha1.3
- old
+ new
@@ -28,10 +28,10 @@
observing do
# rubocop:disable Style/DoubleNegation # we must return true/false to js land
if respond_to?(:needs_update?)
!!call_needs_update(next_props, next_state)
else
- (props_changed?(next_props) || native_state_changed?(next_state))
+ props_changed?(next_props) || native_state_changed?(next_state)
end
# rubocop:enable Style/DoubleNegation
end
end