我想鏈接ListGroupItem與反應路由器鏈接的點擊。 但是當我添加Link元素時,我失去了ListGroupItem的樣式。 如果我使用href而不是鏈接元素,那麼頁面將重新加載並且部分加載不會發生。 var NavListGroup = React.createClass({
render: function() {
var listgroupInstance = t
我試圖用反應的自舉,但我有以下錯誤掙扎: Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's render