Sha256: de087ee62b3cbd7ee772c44e32ef8c345df105936769303c410a3424979d6480

Contents?: true

Size: 488 Bytes

Versions: 15

Compression:

Stored size: 488 Bytes

Contents

module LucidComponent
  module Initializer
    def initialize(native_component)
      @native = native_component
      @app_store = `Opal.LucidComponent.AppStoreProxy.$new(#{self}, 'props')`
      @class_store = `Opal.LucidComponent.ClassStoreProxy.$new(#{self}, 'props')`
      @props = `Opal.React.Component.Props.$new(#@native)`
      @state = `Opal.React.Component.State.$new(#@native)`
      @store = `Opal.LucidComponent.InstanceStoreProxy.$new(#{self}, 'props')`
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
isomorfeus-react-16.9.14 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.13 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.12 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.11 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.10 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.9 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.8 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.7 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.6 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.5 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.4 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.3 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.2 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.1 lib/lucid_component/initializer.rb
isomorfeus-react-16.9.0 lib/lucid_component/initializer.rb