React hook that returns a function that can be called to look up the value from the current document at the given path.
The returned function is stable and never changes identity.
NOTE: This hook will not trigger a re-render when the value of the document changes, which makes it less suitable for use in render functions.
The main use case for using this is to look up values at the current document during an event handler
Returns GetFormValueContextValue
A function that can be called to look up the value from the current document at the given path.
Example: Using the `useGetFormValue` hook
functionMyComponent() { // get value of field 'name' in object 'author' constgetFormValue = useGetFormValue()
React hook that returns a function that can be called to look up the value from the current document at the given path. The returned function is stable and never changes identity. NOTE: This hook will not trigger a re-render when the value of the document changes, which makes it less suitable for use in render functions. The main use case for using this is to look up values at the current document during an event handler