私は現在、反応ルータreduxで正しいタイプを渡す際にタイスクリプトの問題を抱えています。 typescriptです-エラー: severity: 'Error'
message: 'Type '{ path: "/foo/:id"; component: typeof "<path>..' is not assignable to type 'IntrinsicAttributes & Int
私は反応し、各ページのヘッダーコンポーネントを持つことを試みるのが新しいです。私のヘッダーコンポーネントはロードされていますが、子はロードされていません。 Index.js import React from "react";
import {render} from "react-dom";
import {BrowserRouter, Route,Switch} from 'react-r