use vuefire with nuxt ssr #1590
              
                Unanswered
              
          
                  
                    
                      gx7879
                    
                  
                
                  asked this question in
                Questions and Help
              
            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.
-
Hi,
I'm experiencing an issue when using Vuefire in my Nuxt 3 project. Specifically, when setting up middleware with the following code:
const user = await getCurrentUser();
In SSR mode, this causes the error:
"Hydration completed but contains mismatches."
Here are the details of my environment:
Nuxt Version: 3.14.1592
Vuefire: 3.2.0
It seems like the mismatch happens during the hydration process. Could this be a limitation of getCurrentUser() in SSR mode, or is there a workaround to handle this properly?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions