Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bennetthardwick/recoil-clone
/ functions
Functions
18 in github.com/bennetthardwick/recoil-clone
⨍
Functions
18
◇
Types & classes
8
↓ 16 callers
Method
setState
(value: T)
src/index.ts:67
↓ 14 callers
Function
atom
(value: { key: string; default: V })
src/index.ts:112
↓ 9 callers
Function
useCoiledValue
(value: Stateful<T>)
src/index.ts:127
↓ 6 callers
Function
selector
(value: { key: string; get: SelectorGenerator<V>; })
src/index.ts:118
↓ 5 callers
Method
snapshot
()
src/index.ts:24
↓ 4 callers
Function
useCoiledState
(atom: Atom<T>)
src/index.ts:139
↓ 2 callers
Method
addDep
(dep: Stateful<V>)
src/index.ts:86
↓ 2 callers
Function
getNextId
()
example/index.tsx:70
↓ 2 callers
Method
subscribe
(callback: (value: T) => void)
src/index.ts:51
↓ 2 callers
Method
update
(value: T)
src/index.ts:39
↓ 2 callers
Function
updateItem
(item: string, x: number, y: number)
example/index.tsx:61
↓ 1 callers
Method
emit
()
src/index.ts:29
↓ 1 callers
Function
getOrCreateSelector
(item: string)
example/index.tsx:46
↓ 1 callers
Function
getRandomColor
()
example/index.tsx:6
↓ 1 callers
Method
updateSelector
()
src/index.ts:97
Function
App
()
example/index.tsx:136
Method
constructor
(protected value: T)
src/index.ts:20
Method
constructor
(private readonly generate: SelectorGenerator<T>)
src/index.ts:101