Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if url has hash in react

if(window.location.hash) {
  // Fragment exists
} else {
  // Fragment doesn't exist
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #url #hash #react
ADD COMMENT
Topic
Name
9+6 =