Can i forward ref WithSkiaWeb #1910
              
                
                  
                  
                    Answered
                  
                  by
                    wcandillon
                  
              
          
                  
                    
                      lucas-garrido
                    
                  
                
                  asked this question in
                Q&A
              
            -
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            wcandillon
          
      
      
        Oct 16, 2023 
      
    
    Replies: 1 comment 8 replies
-
| in fact i cant pass any props to the web component, is this the expected behaviour ? | 
Beta Was this translation helpful? Give feedback.
                  
                    8 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    





Got it. Currently this is not supported. Is there a way you could rewrite your app to not need to pass properties to the getComponent object? For instance using this method: https://shopify.github.io/react-native-skia/docs/getting-started/web#using-defered-component-registration
Now here's a workaround. You can take the code from: https://github.com/Shopify/react-native-skia/blob/main/package/src/web/WithSkiaWeb.tsx (
LoadSkiaWebis available via@shopify/react-native-skia/lib/module/weband Platform, you can import fromreact-nativeis you use react native web or this not it means you are running web). And modify this code to have a props property which you can pass down to<Inner />.If …