How to correctly create a React context for useAppForm? #1788
              
                Unanswered
              
          
                  
                    
                      alekseykurylev
                    
                  
                
                  asked this question in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I’m trying to create a React context/provider for useAppForm from @tanstack/react-form so I can use a shared form instance across multiple components. Here’s my current setup:
Any example of a generic FormProvider + useFormContext pattern with @tanstack/react-form?
Beta Was this translation helpful? Give feedback.
All reactions