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

[hooks] Add light client #1419

Merged
merged 6 commits into from
Oct 3, 2023
Merged

[hooks] Add light client #1419

merged 6 commits into from
Oct 3, 2023

Conversation

nikitayutanov
Copy link
Member

@nikitayutanov nikitayutanov commented Oct 2, 2023

Expand useApi hook to support light client connection and smooth network change without forced page reload.

api is more type safe now - it's undefined before initialization. Use isApiReady variable to validate it's current state.

@nikitayutanov nikitayutanov changed the title Add light client to useApi [hooks] Add light client Oct 2, 2023
@nikitayutanov nikitayutanov merged commit be31ef5 into main Oct 3, 2023
4 checks passed
@nikitayutanov nikitayutanov deleted the ny-hooks-light-client branch October 3, 2023 14:40
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.

5 participants