lib/react/component/api.rb in isomorfeus-react-16.10.5 vs lib/react/component/api.rb in isomorfeus-react-16.10.6
- old
+ new
@@ -45,9 +45,13 @@
end
def render(&block)
`base.render_block = block`
end
+
+ def should_component_update?(&block)
+ `base.should_component_update_block = block`
+ end
end
end
def display_name
@native.JS[:displayName]