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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -