repo_description: :eyes: Vue in React, React in Vue. Seamless integration of the two. :dancers:
repo_topics: babel-plugin interop migrate react seamless-integration vue vue-plugin
code: import { ReactWrapper } from '../'
  
  export default function VueResolver (component) {
    return {
      components: { ReactWrapper },
      props: ['passedProps'],
      inheritAttrs: false,
      render (createElement) {
        return createElement(
          'react-wrapper',
          {
            props: {
              component,
              passedProps: this.$props.passedProps,
            },
            attrs: this.$attrs,
            on: this.$listeners,
          },
          this.$slots.default
        )
      },
    }
  }
  