Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99387497
useMergeStateFromProps.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 24, 02:38
Size
359 B
Mime Type
text/x-java
Expires
Sun, Jan 26, 02:38 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23788757
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
useMergeStateFromProps.js
View Options
import
useMergeState
from
'./useMergeState'
;
export
default
function
useMergeStateFromProps
(
props
,
gDSFP
,
initialState
)
{
var
_useMergeState
=
useMergeState
(
initialState
),
state
=
_useMergeState
[
0
],
setState
=
_useMergeState
[
1
];
var
nextState
=
gDSFP
(
props
,
state
);
if
(
nextState
!==
null
)
setState
(
nextState
);
return
[
state
,
setState
];
}
Event Timeline
Log In to Comment