useString | @tomic
Function useString
- use
String(resource: Resource, propertyURL: string, opts?: useValueOptions): [string | undefined, ((string: string | undefined) => Promise<void>)] -
Hook for getting and setting a stringified representation of an Atom in a React component. See useValue
Parameters
-
resource: Resource
-
propertyURL: string
-
Optionalopts: useValueOptions
Returns [string | undefined, ((string: string | undefined) => Promise<void>)]
-