JavaScript Examples #4595
Replies: 3 comments 1 reply
-
not sure what you are talking about at all. Most examples, including https://tanstack.com/query/v4/docs/examples/react/simple |
Beta Was this translation helpful? Give feedback.
-
https://www.w3schools.com/js/js_examples.asp Don't forget select as answer @jarrodhroberson |
Beta Was this translation helpful? Give feedback.
-
I'm trying to simply run a mutation function in vanilla js. I have the documentation for doing this using a hook: https://tanstack.com/query/latest/docs/framework/react/guides/mutations Using the query client I can query and cache the results easily. How do I run a mutation in vanilla js? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This really needs some vanilla JavaScript examples.
If nothing else the "Simple" and "Basic" examples need to be in plain old JavaScript.
The Typescript obfuscates how to use the library to the point that it is hard to understand what it even does much less how you need to get anything done with it.
Beta Was this translation helpful? Give feedback.
All reactions