Sha256: 8a45d73e1700e7b0d852644f9f822641419efa0cef6c7e2b2c5eb24dd4a8206a

Contents?: true

Size: 486 Bytes

Versions: 9

Compression:

Stored size: 486 Bytes

Contents

module LucidComponent
  module Initializer
    def initialize(native_component)
      @native = native_component
      @app_store = ::React::ReduxComponent::AppStoreProxy.new(self, 'props')
      @class_store = ::React::ReduxComponent::ClassStoreProxy.new(self, 'props')
      @props = ::React::Component::Props.new(@native.JS[:props])
      @state = ::React::Component::State.new(@native)
      @store = ::React::ReduxComponent::InstanceStoreProxy.new(self, 'props')
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
isomorfeus-react-16.6.8 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.7 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.6 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.5 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.4 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.3 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.2 lib/lucid_component/initializer.rb
isomorfeus-react-16.6.1 lib/lucid_component/initializer.rb
isomorfeus-react-16.5.1 lib/lucid_component/initializer.rb