React does not reload component when route parameters have changed

If you need to reload the components when route has changed there is an elegant solution to do it with help of key: