Giter VIP home page Giter VIP logo

Comments (7)

ianwalter avatar ianwalter commented on May 10, 2024 1

I don't think you can set a static property on a ES6 class like this: https://github.com/koistya/react-static-boilerplate/blob/master/components/Link/Link.js#L21

It should be:

class Link extends Component {
  // ...
}

Link.propTypes = {
  to: PropTypes.string.isRequired,
  children: PropTypes.element.isRequired,
  state: PropTypes.object,
  onClick: PropTypes.func,
};

Easy fix, but this component should just be replaced by rackt/react-router imho.

Update: I was wrong. I didn't realize this project was using ES6+ instead of ES6.

from react-firebase-starter.

dsernst avatar dsernst commented on May 10, 2024
  • What version of node are you using?
  • Have you tried deleting node_modules/ and re-installing dependencies?
  • Did you mess with webpack config?

from react-firebase-starter.

justinsane98 avatar justinsane98 commented on May 10, 2024

I'm experiencing the exact same errors as @elliotatRetireup so I will spare you the stacktrace. I have already tried deleting node_modules, I have not edited tools/webpack.config.js and I am running node v5.4.1.

from react-firebase-starter.

Elliot128 avatar Elliot128 commented on May 10, 2024

I could never get this one to work, so I ended up using the setup on this page:

https://github.com/gaearon/react-transform-boilerplate

from react-firebase-starter.

rasmushedin avatar rasmushedin commented on May 10, 2024

I got an identical problem which was caused by copying "all" files from a checked out version of RSB - not realising the hidden files (.xxx) was missing.
Once corrected the problem disappeared

from react-firebase-starter.

koistya avatar koistya commented on May 10, 2024

Feel free to reopen if this issue still exists in the latest version or RSB.

from react-firebase-starter.

seizmo avatar seizmo commented on May 10, 2024

Hi there, I have the same problem. I cloned RSB yesterday (master)

I get the warning on all (even the included) components.

Missing class properties transform.
class ServiceOutput extends React.Component {

static propTypes = {
^
    url: PropTypes.string,
 };

OS: Windows 10
Node: 6.4

from react-firebase-starter.

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.