Sha256: cc5428984815f2417503c08a031f51ec03593af0819e99fd7aa17aa0e546bc29

Contents?: true

Size: 526 Bytes

Versions: 5

Compression:

Stored size: 526 Bytes

Contents

module React
  module ReduxComponent
    module Initializer
      def initialize(native_component)
        @native = native_component
        @app_store = `Opal.React.ReduxComponent.AppStoreProxy.$new(#{self})`
        @class_store = `Opal.React.ReduxComponent.ClassStoreProxy.$new(#{self})`
        @props = `Opal.React.Component.Props.$new(#@native.props)`
        @state = `Opal.React.Component.State.$new(#@native)`
        @store = `Opal.React.ReduxComponent.InstanceStoreProxy.$new(#{self})`
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
isomorfeus-react-16.8.4 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.3 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.2 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.1 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.0 lib/react/redux_component/initializer.rb