Module: React::FunctionComponent::Initializer

Defined in:
lib/isomorfeus_react/react/function_component/initializer.rb

Instance Method Summary collapse

Instance Method Details

#initializeObject



4
5
6
7
# File 'lib/isomorfeus_react/react/function_component/initializer.rb', line 4

def initialize
  self.JS[:native_props] = `{ props: null }`
  @native_props = ::React::Component::Props.new(self)
end