Warning: React does not recognize the `computedMatch` prop on a DOM element.
完整的警告是:
Warning: React does not recognize the computedMatch
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase computedmatch
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
引起警告的原因是:
react-router-dom
的<Switch>
中使用了<div>
就像這樣:
<Router>
<Switch>
<div>
<Route path="/" exact component={Home} />
<Route path="/newMeetings" exact component={NewMeetings} />
<Route path="/changeMeetings" exact component={ChangeMeetings} / >
<Route path="/peopleSetting" exact component={PeopleSetting} />
</div>
</Switch>
</Router>
解決辦法很簡單,把<div>
換成<Fragment>
就行了~
END!
相關推薦
Warning: React does not recognize the `computedMatch` prop on a DOM element.
完整的警告是: Warning: React does not recognize the computedMatch prop on a DOM element. If you intentionally want it to appear in the DOM as a custom
warning: React does not recognize the xxx prop on a DOM element
ref urn ret con pro dom元素 bject 解決 tps 這是React不能識別dom元素上的非標準attribute報出的警告,最終的渲染結果中React會移除這些非標準的attribute。 通常{...this.props}和cloneElemen
Android Studio 3.0的does not support the forTasks() method on BuildActionExecuter 錯誤
Android Studio 3.0出來後迫不及待的試用了一下,國內的網路不太通暢,所以第一次打的時候可以會耗費一點時間,安裝你幾個更新什麼的,更新之後想要再測試一下自己的程式,出現了以下錯誤:Error:Failed to complete Gradle execution
Java compiler level does not match the version of the installed Java project facet
led epo sin eclips path tar repo alt rip 更換jdk版本時報以下問題:Description Resource Path Location TypeJava compiler level does not match the vers
mysql5.7 Your password does not satisfy the current policy requirements問題解決
特殊字符 src strong form 改密 for mysql date 特殊 安裝mysql5.7rpm包,在更改密碼的時候,提示錯誤 這是由於Mysql5.7默認對於密碼的要求強度較高,設置的密碼過於簡單不予通過。要解決這個問題,涉及到的參數有validate
新導入項目出現Java compiler level does not match the version of the installed java project facet問題處理
ima project 編譯 分享 face bsp 導入 ets 操作 在使用eclipse開發java類項目的時候,免不了會在不同的設備上開發編譯同一個項目,那麽就會出現Java compiler level does not match the version o
Type Java compiler level does not match the version of the installed Java project facet.項目內容沒錯但是項目上報錯,不影響運行
images ems rop http ges 內容 工程 版本 ren 1、Window->Show View->Problems 2、在項目上右鍵properties->project Facets->修改右側的version 保持一致 3
Java問題解決:Java compiler level does not match the version of the installed Java project facet.
問題 compiler .cn 技術分享 cnblogs java編譯 mpi 選中 per 問題原因:Java編譯器級別與Facted Project 中的Java 版本設定不匹配。 解決辦法:將兩者設置一致 1.查看Java compiler level : 選中項
解決java compiler level does not match the version of the installed java project facet
ref 目錄 ngs eclipse 項目 cor 點擊 遇到 log 因為遇到這個問題,所以記錄一下。 轉載自:https://blog.csdn.net/chszs/article/details/8125828 java compiler level does
Your development team, "", does not support the Push Notifications capability.
找到 abi 解決 運行 文件中 cati devel xxx 解決方法 問題: Your development team, "", does not support the Push Notifications capability. 解決方法: 1.找到工程文件中
Dynamics CRM Plug-in assembly does not contain the required types or assembly content cannot be...
我們在使用plugin Registration Tool更新外掛的時候,有時會碰到標題中提示的英文錯誤,具體的error message可以看下面的截圖 這個錯一般都是我們的Assembly中的Plugin和外掛註冊
Mysql-安裝指南 mysql修改密碼Your password does not satisfy the current policy requirements CentOS7 通過YUM安裝MySQL5.7 設定MySQL允許外網訪問 CentOS7 通過YUM安裝MySQL5.7
1、設定使用者名稱密碼 首次登入後修改密碼如下: 如果密碼設定太過簡單會報以下錯誤 mysql修改密碼Your password does not satisfy the current policy requirements 出
如何處理Eclipse錯誤訊息 The declared package does not match the expected package
我從github下載了一個開源專案後,匯入到自己Eclipse之後,遇到了這個煩人的錯誤訊息: The declared package "com.sap.smartService" does not match the expected package "main.java.com.sap.smartSer
如何處理Eclipse錯誤消息 The declared package does not match the expected package
下載 分享 開源項目 錯誤 rop cte 是我 遇到 images 我從github下載了一個開源項目後,導入到自己Eclipse之後,遇到了這個煩人的錯誤消息: The declared package "com.sap.smartService" does not m
quartus II編譯報錯:Error: Current license file does not support the XXX device
環境: win7 (64位); quartus II 版本:quartus II 11.0 (64位,32位); 使用quartus II測試"Hello World!"的程式,Qsys製作相應的軟核。 剛開始測試的時候使用quartu
Maven專案,報錯Java compiler level does not match the version of the installed Java project facet
使用eclipse新建maven專案。專案建立後手動修改org.eclipse.wst.common.project.facet.core.xml檔案, 修改專案 Project Facets 修改後發現專案名稱處報錯,有紅色叉號。 查詢eclipse中Problems
eclipse重新整理maven專案後出現Java compiler level does not match the version of the installed Java project face
如果出現標題所示的問題這裡提供一個根除的方法: 需要找到maven安裝路徑conf子路徑下的setting.xml檔案,開啟<profile>標籤指定你的jdk編譯版本即可,如下所示: <profile>
Java compiler level does not match the version of the installed Java project facet.]問題
Java compiler level does not match the version of the installed Java project facet.] 問題原因: Facted Project 中的Java 版本設定與專案的Java編譯器的compliance le
成功解決(wait)KeyError: "The name 'image_tensor:0' refers to a Tensor which does not exist. The operatio
解決問題 KeyError: "The name 'image_tensor:0' refers to a Tensor which does not exist. The operation, 'image_tensor', does not exist in the g
mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
ERROR 1819 (HY000): Your password does not satisfy the current policy requirements 今天新安裝了一個mysql5.7,想自己修改一個新密碼,結果總是出現1819這個錯誤,後面查了一