Sha256: 4537db41e7e41f8308ffe97d26db0feda29c15587fd3d0eba39b1ebd49ef7b8e

Contents?: true

Size: 512 Bytes

Versions: 5

Compression:

Stored size: 512 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

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