Module: Preact::FunctionComponent::Mixin

Defined in:
lib/isomorfeus_preact/preact/function_component/mixin.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
# File 'lib/isomorfeus_preact/preact/function_component/mixin.rb', line 2

def self.included(base)
  base.include(::Preact::Elements)
  base.include(::Preact::FunctionComponent::Initializer)
  base.include(::Preact::FunctionComponent::Api)
  base.extend(::Preact::FunctionComponent::NativeComponentConstructor)
end