Sha256: 30f48d0db0071c9aa95ef01573df7b42a729e2ae200074ceac7464cdf28d554a

Contents?: true

Size: 598 Bytes

Versions: 27

Compression:

Stored size: 598 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.Preact.Component.Props.$new(#@native)`
      @state = `Opal.Preact.Component.State.$new(#@native)`
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
isomorfeus-preact-10.5.6 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.5.5 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.5.4 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.5.3 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.5.2 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.5.1 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.5.0 lib/isomorfeus_preact/lucid_component/initializer.rb