Sha256: 20ddee78638e3edee6f0d4647a086b3d11a9ed7513aad5a3a0d01f54e24dcd88

Contents?: true

Size: 229 Bytes

Versions: 18

Compression:

Stored size: 229 Bytes

Contents

module Preact
  module FunctionComponent
    module Initializer
      def initialize
        self.JS[:native_props] = `{ props: null }`
        @native_props = `Opal.Preact.Props.$new(self)`
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.32 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.31 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.30 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.29 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.28 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.27 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.26 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.25 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.24 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.23 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.22 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.21 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.20 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.19 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.18 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.17 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.16 lib/isomorfeus_preact/preact/function_component/initializer.rb
isomorfeus-preact-10.6.15 lib/isomorfeus_preact/preact/function_component/initializer.rb