slinky-core
slinky-core
API
slinky.core
Attr
AttrPair
BaseComponentWrapper
BaseComponentWrapper
BuildingComponent
BuildingComponent
Component
Component
ComponentWrapper
CustomAttribute
CustomAttribute
CustomTag
CustomTag
DefinitionBase
DefinitionBase
ExternalComponent
ExternalComponentNoProps
ExternalComponentNoPropsWithAttributes
ExternalComponentNoPropsWithAttributesWithRefType
ExternalComponentNoPropsWithRefType
ExternalComponentWithAttributes
ExternalComponentWithAttributesWithRefType
ExternalComponentWithRefType
ExternalPropsWriterProvider
ExternalPropsWriterProvider
FunctionalComponent
FunctionalComponent
FunctionalComponentCore
FunctionalComponentForwardedRef
FunctionalComponentName
FunctionalComponentName
FunctionalComponentNameMacros
FunctionalComponentTakingRef
KeyAddingStage
KeyAddingStage
KeyAndRefAddingStage
KeyAndRefAddingStage
OptionalAttrPair
OptionalAttrPair
ReactComponentClass
ReactComponentClass
RichReactComponentClass
ReactElementContainer
ReactElementContainer
ReactElementMod
RefAttr
RefAttr
StateReaderProvider
StateReaderProvider
StateWriterProvider
StateWriterProvider
StatelessComponent
StatelessComponent
StatelessComponentWrapper
StatelessDefinition
SyntheticEvent
Tag
TagElement
TagMod
TagMod
WithAttrs
WithAttrs
slinky.core.facade
ContextConsumer
ContextConsumerProps
ContextConsumerProps
ContextProvider
ContextProviderProps
ContextProviderProps
EffectCallbackReturn
EffectCallbackReturn
ErrorBoundaryInfo
Fragment
Hooks
PrivateComponentClass
Profiler
Props
React
Children
Component
ReactChildren
ReactContext
ReactContext
RichReactContext
ReactContextRaw
ReactElement
ReactElement
ReactInstance
ReactRef
SetStateHookCallback
SetStateHookCallback
StrictMode
Suspense
Props
slinky-core
/
slinky.core
/
Component
Component
slinky.core.Component
See the
Component
companion object
abstract
class
Component
extends
Component
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Component
class
Object
trait
Any
class
Object
trait
Matchable
class
Any
Known subtypes
class
StatelessComponent
Clear all
Members list
Concise view
Type members
Types
type
Props
type
Snapshot
type
State
Value members
Abstract methods
def
initialState
:
State
def
render
():
ReactElement
Concrete methods
def
componentDidCatch
(
error
:
Error
,
info
:
ErrorBoundaryInfo
):
Unit
def
componentDidMount
():
Unit
def
componentDidUpdate
(
prevProps
:
Props
,
prevState
:
State
):
Unit
def
componentDidUpdate
(
prevProps
:
Props
,
prevState
:
State
,
snapshot
:
Snapshot
):
Unit
def
componentWillMount
():
Unit
def
componentWillReceiveProps
(
nextProps
:
Props
):
Unit
def
componentWillUnmount
():
Unit
def
componentWillUpdate
(
nextProps
:
Props
,
nextState
:
State
):
Unit
def
getSnapshotBeforeUpdate
(
prevProps
:
Props
,
prevState
:
State
):
Snapshot
final
def
props
:
Props
final
def
setState
(
s
:
State
):
Unit
final
def
setState
(
fn
:
State
=>
State
):
Unit
final
def
setState
(
fn
: (
State
,
Props
)
=>
State
):
Unit
final
def
setState
(
s
:
State
,
callback
: ()
=>
Unit
):
Unit
final
def
setState
(
fn
:
State
=>
State
,
callback
: ()
=>
Unit
):
Unit
final
def
setState
(
fn
: (
State
,
Props
)
=>
State
,
callback
: ()
=>
Unit
):
Unit
def
shouldComponentUpdate
(
nextProps
:
Props
,
nextState
:
State
):
Boolean
final
def
state
:
State
Inherited methods
def
forceUpdate
(
callback
:
Function0
[
Unit
]):
Unit
Attributes
Inherited from:
Component
def
forceUpdate
():
Unit
Attributes
Inherited from:
Component
def
hasOwnProperty
(
v
:
String
):
Boolean
Attributes
Inherited from:
Object
def
isPrototypeOf
(
v
:
Object
):
Boolean
Attributes
Inherited from:
Object
def
propertyIsEnumerable
(
v
:
String
):
Boolean
Attributes
Inherited from:
Object
def
toLocaleString
():
String
Attributes
Inherited from:
Object
def
valueOf
():
Any
Attributes
Inherited from:
Object