Best way to pass Layout to view in Router ? #10823
              
                Unanswered
              
          
                  
                    
                      vassilidev
                    
                  
                
                  asked this question in
                Q&A
              
            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 want to know "what's the best way" to have layout to my file in React with react router,
I've seen many guy doing :
Or just pass Layout in the pages itself :
Can you help me ?
Beta Was this translation helpful? Give feedback.
All reactions