Code Monkey home page Code Monkey logo

Comments (12)

ricvillagrana avatar ricvillagrana commented on August 16, 2024 2

Not solved yet, somehow the error is in the spread of this.props I don't know why.

from react-actioncable-provider.

jaypandya73 avatar jaypandya73 commented on August 16, 2024 2

@cpunion - Is there any update on this one? I'm getting this same issue when I use this package

from react-actioncable-provider.

pk1m avatar pk1m commented on August 16, 2024 2

Same issue, I have "babel-plugin-transform-object-rest-spread", in my plugins but still get this issue.

from react-actioncable-provider.

benkimball avatar benkimball commented on August 16, 2024

I am as well. Here's my package.json in case seeing the version numbers is helpful?

  "name": "mirror",
  "private": true,
  "dependencies": {
    "@rails/webpacker": "3.5",
    "babel-preset-react": "^6.24.1",
    "prop-types": "^15.7.2",
    "react": "^16.8.3",
    "react-actioncable-provider": "^2.0.0",
    "react-dom": "^16.8.3"
  },
  "devDependencies": {
    "webpack-dev-server": "2.11.2"
  }
}```

from react-actioncable-provider.

dachinat avatar dachinat commented on August 16, 2024

Is this resolved? How can I help this?

from react-actioncable-provider.

dachinat avatar dachinat commented on August 16, 2024

@jaypandya73 no, but I'm using older version and it works fine. Namely "react-actioncable-provider": "1.0.3",

from react-actioncable-provider.

jaypandya73 avatar jaypandya73 commented on August 16, 2024

@dachinat - Okay thanks. giving it try now. and it's compatible with React 16.7 right?

from react-actioncable-provider.

dachinat avatar dachinat commented on August 16, 2024

Yes, I'm using "react": "^16.7.0", on that project.
Also, documentation for 1.0.3 is here https://github.com/cpunion/react-actioncable-provider/tree/1.0.3

Try not to use this.context there though (that's another way you can do things with that version). Otherwise it all works good.

from react-actioncable-provider.

mgoggin avatar mgoggin commented on August 16, 2024

I had a similar issue recently with my project (unrelated to this package). I'll see if I can't dig through my notes and figure something out when I'm at work tomorrow.

from react-actioncable-provider.

yagudaev avatar yagudaev commented on August 16, 2024

Any updates on this?

from react-actioncable-provider.

mgoggin avatar mgoggin commented on August 16, 2024

Any updates on this?

My notes didn't contain anything other than adding babel-plugin-transform-object-rest-spread to .babelrc fixed the issue.

We didn't upgrade React, but we did upgrade several other dependencies which led to the breakage.

from react-actioncable-provider.

cseeger avatar cseeger commented on August 16, 2024

In my case, I pulled lib/index.js directly into the project, as my Babel instance is not configured to transpile code in node_modules. Once done, the spread operator at (147:12) compiles, and I'm able to import the project.

Also, the 1.0.3 version, noted as working by @dachinat; should work as a node module, as the spread operator is not being used.

Hope this helps!

from react-actioncable-provider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.