Method: Bluesky::PureComponent#should_render?

Defined in:
lib/bluesky/pure_component.rb

#should_render?(previous) ⇒ Boolean



160
161
162
163
164
# File 'lib/bluesky/pure_component.rb', line 160

def should_render?(previous)
  # puts "#{self.class.name}:should_render? #{(@delegate && @delegate.force_update?)}, #{!shallow_equal?(_data, previous._data)}"
  (@delegate && @delegate.force_update?) ||
    !shallow_equal?(_data, previous._data)
end