Read the current full URL with React?

How do I get the full URL from within a ReactJS component?

I’m thinking it should be something like this.props.location but it is undefined

9 Answers
9

Leave a Comment