Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

usesearchparams react router

const [searchParams, setSearchParams] = useSearchParams({});
  setSearchParams({ hello: "world"  });
  console.log(searchParams);
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #usesearchparams #react #router
ADD COMMENT
Topic
Name
4+1 =