MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / is_react_hoc

Function is_react_hoc

codegraph-kernel/src/tsjs/mod.rs:109–111  ·  view source on GitHub ↗

REACT_COMPONENT_HOCS (tree-sitter.ts, #841).

(callee: &str)

Source from the content-addressed store, hash-verified

107
108/// REACT_COMPONENT_HOCS (tree-sitter.ts, #841).
109fn is_react_hoc(callee: &str) -> bool {
110 matches!(callee, "forwardRef" | "memo" | "React.forwardRef" | "React.memo")
111}
112
113fn is_vue_collection_name(name: &str) -> bool {
114 matches!(name, "actions" | "mutations" | "getters")

Callers 1

react_component_hocMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected