react-query-hook
v0.1.2
Published
A custom React hook for read/write variables of query string.
Downloads
3
Readme
react-query-hook
A custom React hook for read/write variables of query string.
Install
$ npm i react-query-hook
Usage
...
import useQuery from 'react-query-hook';
...
const Component = (#params) => {
const [param, setParam] = useQuery(#parameter name);
...
return (...)
}