我有一个带有react路由的horizon/react应用程序,我的应用程序中有一个简单的按钮:
<Link className="dark button" to="/">Another Search</Link>
当我点击它时,我得到以下异常:
Uncaught TypeError: Cannot read property 'getHostNode' of null
错误来自:
getHostNode: function (internalInstance) {
return internalInstance.getHostNode();
},
知道我为什么会收到这个吗?