Experimental
Create a ref from a path string.
This API is experimental and may change in future versions.
type Doc = { todos: Array<{ title: string }> };const titleRef = refFromString(handle, "todos/0/title");titleRef.value(); // string | undefined Copy
type Doc = { todos: Array<{ title: string }> };const titleRef = refFromString(handle, "todos/0/title");titleRef.value(); // string | undefined
Create a ref from a path string.
This API is experimental and may change in future versions.