lib/react/component/initializer.rb in isomorfeus-react-16.6.8 vs lib/react/component/initializer.rb in isomorfeus-react-16.8.0

- old
+ new

@@ -1,11 +1,11 @@ module React module Component module Initializer def initialize(native_component) @native = native_component - @props = ::React::Component::Props.new(@native.JS[:props]) - @state = ::React::Component::State.new(@native) + @props = `Opal.React.Component.Props.$new(#@native.props)` + @state = `Opal.React.Component.State.$new(#@native)` end end end end