MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / restoreControlledState

Function restoreControlledState

code/new-context-api/public/app.js:3951–3955  ·  view source on GitHub ↗
(element, props)

Source from the content-addressed store, hash-verified

3949}
3950
3951function restoreControlledState(element, props) {
3952 var node = element;
3953 updateWrapper(node, props);
3954 updateNamedCousins(node, props);
3955}
3956
3957function updateNamedCousins(rootNode, props) {
3958 var name = props.name;

Callers 1

restoreControlledState$1Function · 0.70

Calls 2

updateWrapperFunction · 0.70
updateNamedCousinsFunction · 0.70

Tested by

no test coverage detected