path
Parameter Behaviourpath
is a string that tells the server where to save that specific piece of data. You can even access the same piece of data and change it from another component, if you give the same path name.path
identifier..
) notation.NameForm
component where you want to get a user's first and last names, and a DisplayName
component where you want to display the full name.user.name
is more efficient than hooking into user.first.name
and user.last.name
separately.defaultValue
Parameter Behaviourloading
will indicate the loading state of the query.error
will be a javascript Error
object or null
in case the query is successful.React.useState
, with the possibility of generating a network call when the setter is called. I say possibility, because the CloudState
client optimized the number of network calls made to the server internally, if the data is still in the process of being changed.useState
. The local state of the application will be updated immediately, whereas the server state will be updated eventually.