v0.13.0
albertogasparin
released this
23 Sep 04:59
·
163 commits
to master
since this release
New features
- New
useQueryParam(param: string)
hook to get and set a query string parameter. Returns[value: string | undefined, setParam: (v: string) => undefined]
- New
usePathParam(param: string)
hook to get and se a path parameter. Returns[value: string | undefined, setParam: (v: string) => undefined]
Bug fixes
- createResource and useResource now return handle the correct type for
data
in Typescript