javascript - How to access abstract current path in react-router v4 -


using react-router v4, how should go getting current abstract path. example, can access this.props.location when using withrouter(...) gives /students/19, when want students/:id etc. functionality desired logging tool.

how should accomplish this?

enter image description here

use this.props.match.path. believe that's need.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -