Sha256: 3c5e78926c67bc640ddd87ce33a67b85705dbcc0f28503a25c4d1fee9f4e2146

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

module LucidFunc::Initializer
  def initialize
    self.JS[:native_props] = `{ props: null }`
    @native_props = `Opal.Preact.Props.$new(#{self})`
    @app_store = LucidComponent::AppStoreProxy.new(self)
    @class_store = LucidComponent::ClassStoreProxy.new(self.class.to_s, self, self)
    @store = LucidComponent::InstanceStoreProxy.new(self)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.34 lib/isomorfeus_preact/lucid_func/initializer.rb
isomorfeus-preact-10.6.33 lib/isomorfeus_preact/lucid_func/initializer.rb