Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: use request #39

Open
wants to merge 64 commits into
base: feat/get-meta
Choose a base branch
from
Open

Feature: use request #39

wants to merge 64 commits into from

Conversation

JuraJuki
Copy link
Contributor

@JuraJuki JuraJuki requested a review from renatoruk August 25, 2020 09:35
JuraJuki and others added 28 commits September 4, 2020 12:49
Feature: extract tsdx-readme
Fix: change package-lock.json to yarn.lock
Feature: fix attributes {} if  __clientGeneratedEntity only attribute
} from "axios";
import { useState } from "react";

export const useRequest = (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hook seems nice, I think it'll really help in some scenarios such as upload for example.

I have an idea on how to get around the issue of having to pass axiosInstance in every call.
We could use useContext for this.

But, for this we'll need to have aardvark instantiated in the root of the application and then passed to a AardvarkProvider (which is currently in test-utils, but I think that the provider should be exported and required for implementation)

JuraJuki and others added 25 commits September 18, 2020 14:34
Fix: page params camelCase syntax
# Conflicts:
#	src/test-utils/configureStore.ts
#	src/tests/deleteHookTests.test.tsx
#	src/tests/patchHookTests.test.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants