module LucidFunc::Initializer
Public Class Methods
new()
click to toggle source
# File lib/isomorfeus_preact/lucid_func/initializer.rb, line 3 def initialize self.JS[:native_props] = `{ props: null }` @native_props = `Opal.Preact.Component.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