未捕获的RangeError:超出ReactElement.js的最大调用堆栈大小

时间:2016-04-11 17:25:26

标签: javascript jquery html reactjs redux

我试图在浏览器中显示三个组件,但我是    获得Uncaught RangeError: Maximum call stack size exceeded。    匿名函数指向react内部文件。它    如果你们能让我知道如何调试和修复它会很棒    错误。我提供了导致错误的主要js文件

我在此行ReactCompositeComponent_mountComponent @ ReactPerf.js?94d4:66进行了调试它投掷了一些对象......但我不确定如何继续。 output: renderedComponent = Object {$$typeof: Symbol(react.element), type: "div", key: null, ref: null, props: Object…}

错误

Uncaught RangeError: Maximum call stack size exceeded ReactElement.js?49af:112 

ReactElement.createElement @ ReactElement.js?49af:112
ReactElementValidator.createElement @ ReactElementValidator.js?0630:223
redux-ball_render @ redux-ball.jsx?ed37:53
(anonymous function) @ makeAssimilatePrototype.js?04ea:15
ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js?3093:587
ReactCompositeComponentMixin._renderValidatedComponent @ ReactCompositeComponent.js?3093:607
ReactCompositeComponent__renderValidatedComponent @ ReactPerf.js?94d4:66
ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js?3093:220
ReactCompositeComponent_mountComponent @ ReactPerf.js?94d4:66
ReactReconciler.mountComponent @ ReactReconciler.js?bb76:37

import Basketball from 'sports-players';
import CarRacing from 'sports-players';
import Football from 'sports-players';

export default {

};

0 个答案:

没有答案