I\'m trying to add a React map component to my project but run into an error. I\'m using Fullstack React\'s blog post as a reference. I tracked down where the error gets thr
For me it was because i used prototype instead of propTypes
class MyComponent extends Component { render() { return Test; } } MyComponent.prototype = { };
it ought to be
MyComponent.propTypes = { };