score:5

if you want to use match you have to pass it to your component.

<route path="/edit/:id" render={({history, match}) => (
  <edituser store={store} history={history} match={match} />
)}/>

you could also just pass all the props:

<route path="/edit/:id" render={props => (
  <edituser store={store} {...props} />
)}/>

or you can use react-redux's connect function to get access to the store

<route path="/edit/:id" component={connect(mapstatetoprops)(edituser)}/>

Related Query

More Query from same tag