Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/editablejs/editable
/ useGrid
Function
useGrid
packages/editor/src/hooks/use-grid.ts:6–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
export
const
GridContext = React.createContext<Grid | null>(null)
5
6
export
const
useGrid = (): Grid | null => {
7
return
React.useContext(GridContext)
8
}
Callers
3
useGridSelected
Function · 0.90
useGridSelection
Function · 0.90
useGridSelectionRect
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…