MCPcopy
hub / github.com/gaearon/react-document-title / handleStateChangeOnClient

Function handleStateChangeOnClient

index.js:14–19  ·  view source on GitHub ↗
(title)

Source from the content-addressed store, hash-verified

12}
13
14function handleStateChangeOnClient(title) {
15 var nextTitle = title || '';
16 if (nextTitle !== document.title) {
17 document.title = nextTitle;
18 }
19}
20
21function DocumentTitle() {}
22DocumentTitle.prototype = Object.create(React.Component.prototype);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…