Skip to content

Comments

Update the way of creating Apollo client in React#1040

Open
leeziwong wants to merge 1 commit intohasura:masterfrom
leeziwong:patch-1
Open

Update the way of creating Apollo client in React#1040
leeziwong wants to merge 1 commit intohasura:masterfrom
leeziwong:patch-1

Conversation

@leeziwong
Copy link

Description

The previous way uses the "useState" hook conditionally, which violates the rules for using React hooks.

Related Issues

Do I have to raise an issue for this PR?

Solution and Design

Steps to test and verify

Limitations, known bugs & workarounds

The previous way uses the "useState" hook conditionally, which violates the rules for using React hooks.
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.

1 participant