Sha256: 6f0b855b3dbba9794c0efbc80735c3bd0ea0391274b1294cc13f4ed3c01325ce
Contents?: true
Size: 419 Bytes
Versions: 2
Compression:
Stored size: 419 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) @store = LucidComponent::InstanceStoreProxy.new(self) @props = `Opal.Preact.Props.$new(#@native)` @state = `Opal.Preact.State.$new(#@native)` end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
isomorfeus-preact-10.6.34 | lib/isomorfeus_preact/lucid_component/initializer.rb |
isomorfeus-preact-10.6.33 | lib/isomorfeus_preact/lucid_component/initializer.rb |