MCPcopy Create free account
hub / github.com/Lobos/react-ui / createRandomKey

Function createRandomKey

docs/lib/ReactRouter.js:2609–2611  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

2607 var _deprecate2 = _interopRequireDefault(_deprecate);
2608
2609 function createRandomKey(length) {
2610 return Math.random().toString(36).substr(2, length);
2611 }
2612
2613 function locationsAreEqual(a, b) {
2614 return a.pathname === b.pathname && a.search === b.search &&

Callers 1

createKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…