React Native> Invariant Violation: Invariant Violation: Text strings must be rendered within a

開始RN的學習開發,遇見了一個報錯信息

報錯信息

invariant Violation : Textstrings must be rendered within a < Text >component

解決方案

原因是我在代碼塊裏面寫了註釋,還有可能是在某塊代碼裏面多了;符號。

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