vanilla javascript documentation #1355
Answered
by
kitten
jdgamble555
asked this question in
Q&A
-
I don't see any documentation for providing the basic client in plain javascript or typescript: https://formidable.com/open-source/urql/docs/basics/getting-started/ import { createClient } from 'urql';
const client = createClient({
url: MY_URL,
}); Now how do I provide the client? I see Vue, Svelte, and React documentation? Regular JS or TS? Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
kitten
Feb 2, 2021
Replies: 1 comment 1 reply
-
That's mostly addressed here: https://formidable.com/open-source/urql/docs/concepts/core-package/ But basically it comes down to using the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jdgamble555
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's mostly addressed here: https://formidable.com/open-source/urql/docs/concepts/core-package/
The concepts are similar to framework use and the API docs support this.
But basically it comes down to using the
Client
directly