Sha256: fdce5de33073e3bb574f599acbec360b261dd3ab59e2fd0e4bc228dbe47bbdc5

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

module LucidComponent::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)
    @props = `Opal.Preact.Props.$new(#@native)`
    @state = `Opal.Preact.State.$new(#@native)`
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.37 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.36 lib/isomorfeus_preact/lucid_component/initializer.rb
isomorfeus-preact-10.6.35 lib/isomorfeus_preact/lucid_component/initializer.rb