Skip to content

patterns for async validation + resolvers? #9005

Answered by lennerd
biowaffeln asked this question in Q&A
Discussion options

You must be logged in to vote

I solved this via a special useRefinement hook. Here is an example on how to use it:

https://stackblitz.com/edit/vitejs-vite-x1cial?file=src%2Fuse-refinement.ts

Let me know, what you think!

Replies: 7 comments 22 replies

Comment options

You must be logged in to vote
4 replies
@biowaffeln
Comment options

@bluebill1049
Comment options

@sushanyadav
Comment options

@bluebill1049
Comment options

Comment options

You must be logged in to vote
2 replies
@biowaffeln
Comment options

@inclinedadarsh
Comment options

Comment options

You must be logged in to vote
2 replies
@OmarMoataz
Comment options

@isaac-scarrott
Comment options

Comment options

You must be logged in to vote
5 replies
@codepunkt
Comment options

@lennerd
Comment options

@codepunkt
Comment options

@jwtong
Comment options

@lennerd
Comment options

Answer selected by biowaffeln
Comment options

You must be logged in to vote
9 replies
@lennerd
Comment options

@jonashex
Comment options

@lennerd
Comment options

@jonashex
Comment options

@lennerd
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet