0.1.2 • Published 3 years ago
react-query-hook v0.1.2
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 (...)
}