module Preact::FunctionComponent::Initializer

Public Class Methods

new() click to toggle source
# File lib/isomorfeus_preact/preact/function_component/initializer.rb, line 4
def initialize
  self.JS[:native_props] = `{ props: null }`
  @native_props = ::Preact::Component::Props.new(self)
end