Skip to content

v4 - useResult could return a Ref instead of a Ref<readonly>. #1261

Answered by fenilli
fenilli asked this question in Q&A
Discussion options

You must be logged in to vote

So how would you go for fetching forms fields for updating? What i'm doing right now is using the result and onResult to do basically the same thing, but onResult is for the first result, and result for when there is a cached result, so using those I Object.assing(fields, result);

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@joel-wenzel
Comment options

Answer selected by fenilli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #1253 on September 20, 2021 16:12.