React報錯解析

簡介

報錯是開發中常有的現象,遇到報錯並不可怕,只要能夠快速有效的看懂報錯信息,並及時的糾正錯誤就可以解決報錯。

報錯信息

報錯1

報錯提醒

React does not recognize the clerkCode prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase clerkcode instead. If you accidentally passed it from a parent component, remove it from the DOM element.

在這裏插入圖片描述

報錯翻譯

有道詞典翻譯:
在這裏插入圖片描述

報錯代碼及解決辦法

在這裏插入圖片描述
改爲
在這裏插入圖片描述
後續未完,請繼續關注,Thanks!☺

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章