Preparing search index...
The search index is not available
@xarc/react-recoil
@xarc/react-recoil
browser
Recoil
ReadWriteSelectorOptions
Interface ReadWriteSelectorOptions<T>
interface
ReadWriteSelectorOptions
<
T
>
{
cachePolicy_UNSTABLE
?:
CachePolicyWithoutEquality
;
dangerouslyAllowMutability
?:
boolean
;
get
:
(
(
opts
)
=>
T
|
Promise
<
T
>
|
RecoilValue
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
)
;
key
:
string
;
set
:
(
(
opts
,
newValue
)
=>
void
)
;
}
Type Parameters
T
Hierarchy (
view full
)
ReadOnlySelectorOptions
<
T
>
ReadWriteSelectorOptions
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
:
(
(
opts
)
=>
T
|
Promise
<
T
>
|
RecoilValue
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
)
Type declaration
(
opts
)
:
T
|
Promise
<
T
>
|
RecoilValue
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
Parameters
opts
:
{
get
:
GetRecoilValue
;
getCallback
:
GetCallback
;
}
get
:
GetRecoilValue
get
Callback
:
GetCallback
Returns
T
|
Promise
<
T
>
|
RecoilValue
<
T
>
|
Loadable
<
T
>
|
WrappedValue
<
T
>
key
key
:
string
set
set
:
(
(
opts
,
newValue
)
=>
void
)
Type declaration
(
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...