Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/YousefED/SyncedStore
/ functions
Functions
84 in github.com/YousefED/SyncedStore
⨍
Functions
84
◇
Types & classes
2
↓ 38 callers
Function
syncedStore
(shape: T, doc: Y.Doc = new Y.Doc())
packages/core/src/index.ts:130
↓ 11 callers
Function
getYjsValue
(object: any)
packages/core/src/index.ts:81
↓ 9 callers
Function
boxed
(value: T)
packages/core/src/boxed.ts:10
↓ 7 callers
Function
createAtom
( _name: string, _onBecomeObservedHandler?: () => void, _onBecomeUnobservedHandler?: () => void )
packages/yjs-reactive-bindings/src/observableProvider.ts:27
↓ 5 callers
Function
getHighlightDirectiveRegex
( languages: readonly HighlightLanguage[] = HighlightLanguages, )
docs/src/theme/CodeBlock/original.tsx:62
↓ 5 callers
Function
patch
(method: string)
packages/yjs-reactive-bindings/src/types/map.ts:83
↓ 5 callers
Function
patch
(method: string)
packages/yjs-reactive-bindings/src/types/array.ts:85
↓ 5 callers
Function
propertyToNumber
(p: string | number | symbol)
packages/core/src/array.ts:151
↓ 4 callers
Function
observeDeep
(object: any, handler: () => void)
packages/core/src/index.ts:42
↓ 4 callers
Function
observeYJS
(element: Y.AbstractType<any> | Y.Doc)
packages/yjs-reactive-bindings/src/index.ts:12
↓ 4 callers
Function
parseYjsReturnValue
(value: any, implicitObserver?: any)
packages/core/src/internal.ts:17
↓ 4 callers
Function
patch
(method: string)
packages/yjs-reactive-bindings/src/types/xml.ts:36
↓ 4 callers
Function
useSyncedStore
(syncedObject: T, deps?: React.DependencyList)
packages/react/src/index.ts:26
↓ 4 callers
Function
wrapItems
(items)
packages/core/src/array.ts:37
↓ 3 callers
Function
crdtValue
(value: T | Y.Array<any> | Y.Map<any>)
packages/core/src/internal.ts:48
↓ 3 callers
Function
filterArray
(arr: T[], filter: (obj: T) => boolean)
packages/core/src/util.ts:6
↓ 2 callers
Function
crdtArray
(initializer: T[], arr = new Y.Array<T>())
packages/core/src/array.ts:162
↓ 2 callers
Function
crdtObject
(initializer: T, map = new Y.Map<any>())
packages/core/src/object.ts:20
↓ 2 callers
Function
enableVueBindings
(vue: any)
packages/yjs-reactive-bindings/src/observableProvider.ts:56
↓ 2 callers
Function
getYjsByTypeDescription
(doc: Y.Doc, typeDescription: T, p: string)
packages/core/src/doc.ts:43
↓ 2 callers
Function
makeStructsObservable
(structs: (Y.Item | Y.GC)[], startPos: number)
packages/yjs-reactive-bindings/src/index.ts:48
↓ 2 callers
Function
makeYDocRootLevelTypesObservable
(doc: Y.Doc)
packages/yjs-reactive-bindings/src/index.ts:38
↓ 2 callers
Function
observeText
(value: Y.Text)
packages/yjs-reactive-bindings/src/types/text.ts:6
↓ 2 callers
Function
observeXml
(value: Y.XmlFragment)
packages/yjs-reactive-bindings/src/types/xml.ts:6
↓ 2 callers
Function
patch
(method: string)
packages/yjs-reactive-bindings/src/types/text.ts:28
↓ 2 callers
Function
reportSelfAtom
()
packages/yjs-reactive-bindings/src/types/array.ts:16
↓ 2 callers
Function
reportSelfAtom
()
packages/yjs-reactive-bindings/src/types/doc.ts:16
↓ 2 callers
Function
useSyncedStores
(syncedObjects: T, deps?: React.DependencyList)
packages/react/src/index.ts:34
↓ 1 callers
Function
areSame
(objectA: any, objectB: any)
packages/core/src/index.ts:102
↓ 1 callers
Function
arrayImplementation
(arr: Y.Array<T>)
packages/core/src/array.ts:19
↓ 1 callers
Function
copyGetter
(method: string, newMethodName: string)
packages/yjs-reactive-bindings/src/types/array.ts:124
↓ 1 callers
Function
crdtDoc
(doc: Y.Doc, typeDescription: T)
packages/core/src/doc.ts:61
↓ 1 callers
Function
defaultReaction
(func: () => any)
packages/yjs-reactive-bindings/src/observableProvider.ts:16
↓ 1 callers
Function
enableReactiveBindings
(reactive: any)
packages/yjs-reactive-bindings/src/observableProvider.ts:76
↓ 1 callers
Function
highlightDirectiveRegex
(lang: string)
docs/src/theme/CodeBlock/original.tsx:77
↓ 1 callers
Function
isYType
(element: any)
packages/core/src/types.ts:13
↓ 1 callers
Function
makeYDocObservable
(doc: Y.Doc)
packages/yjs-reactive-bindings/src/index.ts:68
↓ 1 callers
Function
observeArray
(array: Y.Array<any>)
packages/yjs-reactive-bindings/src/types/array.ts:6
↓ 1 callers
Function
observeDoc
(doc: Y.Doc)
packages/yjs-reactive-bindings/src/types/doc.ts:8
↓ 1 callers
Function
observeMap
(map: Y.Map<any>)
packages/yjs-reactive-bindings/src/types/map.ts:6
↓ 1 callers
Function
onHashChange
()
examples/todo-vue/src/main.ts:14
↓ 1 callers
Function
patch
(method: string)
packages/yjs-reactive-bindings/src/types/doc.ts:50
↓ 1 callers
Function
patchGetter
(method: string)
packages/yjs-reactive-bindings/src/types/xml.ts:45
↓ 1 callers
Function
patchGetter
(method: string)
packages/yjs-reactive-bindings/src/types/array.ts:94
↓ 1 callers
Function
reaction
(func: () => any, effect: () => any)
packages/yjs-reactive-bindings/src/observableProvider.ts:18
↓ 1 callers
Function
reportArrayElementAtom
(key: number)
packages/yjs-reactive-bindings/src/types/array.ts:42
↓ 1 callers
Function
reportMapKeyAtom
(key: string)
packages/yjs-reactive-bindings/src/types/map.ts:40
↓ 1 callers
Function
reportSelfAtom
()
packages/yjs-reactive-bindings/src/types/map.ts:15
↓ 1 callers
Function
serve
()
examples/todo-svelte/rollup.config.js:12
↓ 1 callers
Function
validateRootTypeDescription
(typeDescription: T)
packages/core/src/doc.ts:27
Function
App
()
examples/todo-react/src/App.tsx:8
Function
App
()
examples/todo-react-17/src/App.tsx:8
Function
CodeBlock
({ children, className: blockClassName, metastring, title, }: Props)
docs/src/theme/CodeBlock/original.tsx:102
Function
CodeBlock
(props: any)
docs/src/theme/CodeBlock/index.tsx:14
Function
Home
()
docs/src/pages/index.js:27
Function
HomepageHeader
()
docs/src/pages/index.js:10
Function
TodoItem
(props: { todo: Todo })
examples/todo-react/src/TodoItem.tsx:5
Function
TodoItem
(props: { todo: Todo })
examples/todo-react-17/src/TodoItem.tsx:5
Function
TodoList
(props: { view: "all" | "active" | "completed" })
examples/todo-react/src/TodoList.tsx:6
Function
TodoList
(props: { view: "all" | "active" | "completed" })
examples/todo-react-17/src/TodoList.tsx:6
Method
constructor
(public readonly value: T)
packages/core/src/boxed.ts:7
Function
enableMobxBindings
(mobx: any)
packages/yjs-reactive-bindings/src/observableProvider.ts:46
Function
getOwnPropertyDescriptor
(target, pArg)
packages/core/src/array.ts:246
Function
getOwnPropertyDescriptor
(target, p)
packages/core/src/doc.ts:115
Function
getOwnPropertyDescriptor
(target, p)
packages/core/src/object.ts:82
Function
getThemePath
()
docs/src/index.ts:15
Function
getYjsDoc
(store: T)
packages/core/src/index.ts:67
Function
handleCopyCode
()
docs/src/theme/CodeBlock/original.tsx:200
Function
handler
(_changes: Y.YTextEvent)
packages/yjs-reactive-bindings/src/types/text.ts:15
Function
handler
(event: Y.YMapEvent<any>)
packages/yjs-reactive-bindings/src/types/map.ts:17
Function
handler
(event: Y.YXmlEvent)
packages/yjs-reactive-bindings/src/types/xml.ts:15
Function
handler
(event: Y.YArrayEvent<any>)
packages/yjs-reactive-bindings/src/types/array.ts:18
Function
handler
(tr: any)
packages/yjs-reactive-bindings/src/types/doc.ts:19
Function
isYType
(element: any)
packages/yjs-reactive-bindings/src/index.ts:8
Function
onKeyPress
(event: React.KeyboardEvent<HTMLInputElement>)
examples/todo-react/src/App.tsx:11
Function
onKeyPress
(event: React.KeyboardEvent<HTMLInputElement>)
examples/todo-react-17/src/App.tsx:11
Function
removeTodo
()
examples/todo-react/src/TodoItem.tsx:10
Function
removeTodo
()
examples/todo-react-17/src/TodoItem.tsx:10
Function
reportChanged
()
packages/yjs-reactive-bindings/src/observableProvider.ts:64
Function
reportObserved
()
packages/yjs-reactive-bindings/src/observableProvider.ts:61
Function
svelteSyncedStore
(syncedObject: T)
packages/svelte/src/index.ts:28
Function
theme
()
docs/src/index.ts:11
Function
toExit
()
examples/todo-svelte/rollup.config.js:15
Function
writeBundle
()
examples/todo-svelte/rollup.config.js:20