This extension aims to accelerate development speed in projects that use React Query.
Here you can see the available snippets for now. Will be updated soon for other possible snippets
Snippet | Content |
---|---|
uq |
Generates useQuery with API call |
um |
Generates useMutation with API call |
uiq |
Generates useInfinteQueries with API call |
uqp |
Generates useQuery with one parameter and API call |
upq |
Generates usePaginatedQuery with API call |
rqc |
Generates a functional component with possible outcomes |
rqct |
Generates a functional component with possible outcomes (ternary) |
rqs |
Generates an if statement with status |
iq |
Generates queryCache.invalidateQueries invalidateQueries statement |
Distributed under the MIT license. See LICENSE.md
for more information.
This is an ongoing project. PRs are always welcomed. If you have any question or any issue. You can contact me via Twitter or Email. Hope you gals/guys enjoy. Peace✌️
Asad Ashraf - asadashraf9988(at)gmail(dot)com
Distributed under the MIT license. See LICENSE.md
for more information.