This hook works only for endpoint with GET method.
* refac!(request-hook): add lazy prefix to request hook
BREAKING CHANGES: you need to rename all `useRequest` hooks to
`useLazyRequest`
* refac!(request-hook): add public request state
BREAKING CHANGES: User shouldn't see previous headers, variables and params.
It's only for hooks so it doesn't call request again. If you use these
state you should to remove it from your code.
* chore: update example
Closes#5
feat(context): add context for request
feat(client): add hook for get memo rest client
feat(endpoint): add endpoint object for configure rest methods
feat(request): add request hook
refac(request): return cached data for same query
refac(request): remove void variables for endpoints
feat(request): add headers to request cache