Skip to content

This is an extension for VS code that has all the useful snippets to increase development speed for react-query.

License

Notifications You must be signed in to change notification settings

Assad-Ashraf/react-query-snippets-extension-for-vs-code

Repository files navigation


React Query Snippets

Table of Contents

About the Project

This extension aims to accelerate development speed in projects that use React Query.

React Query Snippets

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

License

Distributed under the MIT license. See LICENSE.md for more information.

Extras

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✌️

Contact

Asad Ashraf - asadashraf9988(at)gmail(dot)com

License

Distributed under the MIT license. See LICENSE.md for more information.

About

This is an extension for VS code that has all the useful snippets to increase development speed for react-query.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published