1

I have a some situation in my current project when I must connect two technologies. My project is build in Vue 3 composition api. I wand to add to then 3rd party SDK. Problem what I have is with SDK because right now support only react.

All widgets and components I can implement in react. At this stage of product is too late to move everything from Vue to react, and client want to have this SDK implemented in project.

My question is: is it possible to create one simple app in react which will be have implementation of SDK and put them into Vue component? What about performance of this solution? Any one have similar problem? How to find best way to solve this?

I heard about Veaury but I never use that. Maybe this is good idea? How you thinking?

Apostolos
  • 10,033
  • 5
  • 24
  • 39
mcmac
  • 1,042
  • 9
  • 13
  • Probably yes, with react portal and vue teleport, but the maintainability will be horrible. – Gábor Angyal Oct 21 '22 at 08:38
  • 1
    What is the 3rd party SDK? Could we see some docs? It's unlikely that it really is "just react", it's likely that they just have a react wrapper... – AKX Oct 21 '22 at 08:44
  • Can't say about Veaury, it totally depends on how it's implemented and maintained. You can always come up with your own bridge that respects the lifecycle of each framework in use, here's V2-V3 example https://stackoverflow.com/a/73547129/3731501 that can be rewritten for any combo of frameworks – Estus Flask Oct 21 '22 at 09:37
  • @AKX is Webex SDK – mcmac Oct 24 '22 at 15:03
  • @mcmac Right. Well, the Webex browser SDK is absolutely not react-specific: https://developer.webex.com/docs/sdks/browser#getting-started – AKX Oct 24 '22 at 17:02

0 Answers0