Preparing search index...
The search index is not available
@xarc/react-recoil
@xarc/react-recoil
browser
Recoil
ReadWriteSelectorFamilyOptions
Interface ReadWriteSelectorFamilyOptions<T, P>
interface
ReadWriteSelectorFamilyOptions
<
T
,
P
>
{
cachePolicy_UNSTABLE
?:
CachePolicyWithoutEquality
;
dangerouslyAllowMutability
?:
boolean
;
get
:
(
(
param
)
=>
(
(
opts
)
=>
T
|
Promise
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
|
RecoilValue
<
T
>
)
)
;
key
:
string
;
set
:
(
(
param
)
=>
(
(
opts
,
newValue
)
=>
void
)
)
;
}
Type Parameters
T
P
extends
SerializableParam
Index
Properties
cache
Policy_
UNSTABLE?
dangerously
Allow
Mutability?
get
key
set
Properties
Optional
cache
Policy_
UNSTABLE
cache
Policy_
UNSTABLE
?:
CachePolicyWithoutEquality
Optional
dangerously
Allow
Mutability
dangerously
Allow
Mutability
?:
boolean
get
get
:
(
(
param
)
=>
(
(
opts
)
=>
T
|
Promise
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
|
RecoilValue
<
T
>
)
)
Type declaration
(
param
)
:
(
(
opts
)
=>
T
|
Promise
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
|
RecoilValue
<
T
>
)
Parameters
param
:
P
Returns
(
(
opts
)
=>
T
|
Promise
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
|
RecoilValue
<
T
>
)
(
opts
)
:
T
|
Promise
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
|
RecoilValue
<
T
>
Parameters
opts
:
{
get
:
GetRecoilValue
;
getCallback
:
GetCallback
;
}
get
:
GetRecoilValue
get
Callback
:
GetCallback
Returns
T
|
Promise
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
|
RecoilValue
<
T
>
key
key
:
string
set
set
:
(
(
param
)
=>
(
(
opts
,
newValue
)
=>
void
)
)
Type declaration
(
param
)
:
(
(
opts
,
newValue
)
=>
void
)
Parameters
param
:
P
Returns
(
(
opts
,
newValue
)
=>
void
)
(
opts
,
newValue
)
:
void
Parameters
opts
:
{
get
:
GetRecoilValue
;
reset
:
ResetRecoilState
;
set
:
SetRecoilState
;
}
get
:
GetRecoilValue
reset
:
ResetRecoilState
set
:
SetRecoilState
newValue
:
DefaultValue
|
T
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
cache
Policy_
UNSTABLE
dangerously
Allow
Mutability
get
key
set
@xarc/react-recoil
Loading...