Sha256: 6ecf51dcc8ae78ad9cf44ccf3e23d8dee0bec0e793eb097f43a6a2cd00aaa103

Contents?: true

Size: 520 Bytes

Versions: 5

Compression:

Stored size: 520 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)`
        @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.9 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.8 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.7 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.6 lib/react/redux_component/initializer.rb
isomorfeus-react-16.8.5 lib/react/redux_component/initializer.rb