How would you handle the case when there is no history yet and the users arrives directly to your modal URL? Because there is no background set in that case, the Switch will use the current location object, generating the wrong content.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How would you handle the case when there is no history yet and the users arrives directly to your modal URL? Because there is no
background
set in that case, theSwitch
will use the current location object, generating the wrong content.