Sha256: 64785e139e87d71ee3824103456a9973bddc61cc62d0d93d0a32cd93ab40ae37
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
module React module MemoComponent module Mixin def self.included(base) if on_browser? || on_ssr? base.include(::React::Component::Elements) elsif on_mobile? base.include(::ReactNative::Component::Elements) end base.include(::React::Component::Features) base.include(::React::FunctionComponent::Initializer) base.include(::React::FunctionComponent::Api) base.extend(::React::MemoComponent::NativeComponentConstructor) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
isomorfeus-react-16.13.12 | lib/isomorfeus_react/react/memo_component/mixin.rb |