Sha256: 6497eef074458736bde2d5df8c08669cb3d67b7d309c9610fd7f654273172955

Contents?: true

Size: 582 Bytes

Versions: 12

Compression:

Stored size: 582 Bytes

Contents

module LucidComponent
  module Initializer
    def initialize(native_component)
      @native = native_component
      @app_store = LucidComponent::AppStoreProxy.new(self)
      @class_store = LucidComponent::ClassStoreProxy.new(self.class.to_s, self, @native)
      # @iso_store = Isomorfeus::IsomorphicStoreProxy.new(self)
      # @local_store = Isomorfeus::LocalStoreProxy.new(self)
      @store = LucidComponent::InstanceStoreProxy.new(self)
      @props = `Opal.React.Component.Props.$new(#@native)`
      @state = `Opal.React.Component.State.$new(#@native)`
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
isomorfeus-react-16.13.11 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.10 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.9 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.8 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.7 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.6 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.5 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.4 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.3 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.2 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.1 lib/isomorfeus_react/lucid_component/initializer.rb
isomorfeus-react-16.13.0 lib/isomorfeus_react/lucid_component/initializer.rb