UNPKG
sokore
Version:
latest (3.4.6)
3.4.6
3.4.5
3.4.4
3.4.2
3.4.1
3.4.0
3.3.4
3.3.3
3.3.1
3.3.0
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.1
2.3.8
2.3.4
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
Simple object based hook and state manager for React.
github.com/ksoze84/sokore
ksoze84/sokore
sokore
/
lib
/
mountLogic.d.ts
4 lines
(3 loc)
•
293 B
TypeScript
View Raw
1
2
3
4
import
{
Kore
,
Koreko
}
from
"./Kore"
;
export
declare
function
mountLogic<T, S, H
extends
(
Kore
<T, S> |
Koreko
<T, S>)>(
dispatcher
:
(
p
: T,
n
: T
) =>
void
,
dispatcherRef
:
Function
,
kore
: H):
() =>
void
;
export
declare
function
unmountLogic<T, S>(
dispatcherRef
:
Function
,
kore
:
Kore
<T, S>):
void
;