​​React​CommonJS,TypeScript,Vite,トラブルシュート

Thumbnail of post image 106

npm パッケージのコンポーネントを import したら画面が真っ白になり、コンソールに Element type is invalid と出るのは、default と名前付きの import を取り違えたときです。全文と直し方を確 ...