Sha256: 019e3a5b2ca8c5531eba0f8628af2cede52732a850ca5ac121851b1af8e034a5
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 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.Props.$new(#@native)` @state = `Opal.Preact.State.$new(#@native)` end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
isomorfeus-preact-10.6.15 | lib/isomorfeus_preact/lucid_component/initializer.rb |