Skip to content

Error in rendering React component inside Vue: Cannot call a class as a function #21

Open
@tksumanth1994

Description

@tksumanth1994

I want to render a react component inside a Vue Component. I am using this plugin for that. But I'm not able to. Not able to figure out where I'm going wrong. Please help.

This is my Vue component:
vue-component

This is my React component:
react-component

And this is .babelrc file:
babelrc

And I am getting this error: "Cannot call a class as a function"

Thanks!

Activity

nickmessing

nickmessing commented on Dec 7, 2018

@nickmessing
Contributor

I'm sorry but this project is just a joke, you can't use it in production or anywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nickmessing@tksumanth1994

        Issue actions

          Error in rendering React component inside Vue: Cannot call a class as a function · Issue #21 · vueact/babel-plugin-transform-react-to-vue