Closed smnplk closed 9 years ago
Will probably need to see Header
and ListNavigation
too.
Get rid of <Header/>
, if you still have the error, put it back and then get rid of <ListNavigation/>
. I'm going to guess its one of those giving you issues.
What are your versions for:
Hey @rpflorence thanks for helping me out! It turns out I forgot to write
module.exports = ProviderDashboard;
Also in my other components :P So my require calls returned empty objects.
np
Easy to hit this one. Would be neat if there was a way to give a better error message, or maybe a hint.
@ryanflorence Here's a more detailed writeup of what I hit:
http://forum.railsonmaui.com/t/uncaught-typeerror-object-is-not-a-function-react-router/249
fabric.util.loadImage( ' ../sample.png' , function(img){ }); Uncaught TypeError: object.render is not a function fabric.StaticCanvas.fabric.util.createClass._onObjectAdded @ fabric.js:6378 fabric.Collection.add @ fabric.js:198 this image object move and not add the modify object on client side in image function. how to solve this function...
abric.util.loadImage( ' ../sample.png' , function(img){ }); Uncaught TypeError: object.render is not a function fabric.StaticCanvas.fabric.util.createClass._onObjectAdded @ fabric.js:6378 fabric.Collection.add @ fabric.js:198 this image object move and not add the modify object on client side in image function. how to solve this function...
Uncaught TypeError: object.render is not a function fabric.StaticCanvas.fabric.util.createClass._draw @fabric.js:6358 fabric.StaticCanvas.fabric.util.createClass._renderObjects @ fabric.js:6496 fabric.StaticCanvas.fabric.util.createClass.renderAll @ fabric.js:6467 fabric.util.object.extend._transformObject @ fabric.js:9656 fabric.util.object.extend.__onMouseMove @ fabric.js:9635 fabric.util.object.extend._onMouseMove @ fabric.js:9270
Hi!
I get the error in my title which happens at line 92 in instantiateReactComponent.js. At this line: instance = new element.type(element.props);
In my app.js file i have this code:
In my provider_dashboard.js I have: