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

Function queryIsActive

docs/lib/ReactRouter.js:4020–4026  ·  view source on GitHub ↗

* Returns true if all key/value pairs in the given query are * currently active.

(query, activeQuery)

Source from the content-addressed store, hash-verified

4018 * currently active.
4019 */
4020 function queryIsActive(query, activeQuery) {
4021 if (activeQuery == null) return query == null;
4022
4023 if (query == null) return true;
4024
4025 return deepEqual(query, activeQuery);
4026 }
4027
4028 /**
4029 * Returns true if a <Link> to the given pathname/query combination is

Callers 1

isActiveFunction · 0.85

Calls 1

deepEqualFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…