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

Question: Architecture of cache folder vs adjacent files #627

Open
comp615 opened this issue May 6, 2022 · 0 comments
Open

Question: Architecture of cache folder vs adjacent files #627

comp615 opened this issue May 6, 2022 · 0 comments

Comments

@comp615
Copy link
Contributor

comp615 commented May 6, 2022

I was trying to understand how the plugin works a little bit better and was curious to understand why the .d.ts files are located adjacent to the queries, but the .tsx files are stored in the cache folder. It seemed like it might make sense to have them all in one place or the other, but I'm guessing it's working around some TS compiler quirk somehow?

The gist is that I was thinking in the IDE it would be useful if clicking through to the imported { useQuery } function showed the .tsx file instead of .d.ts because it reveals the actual functionality then.

Thanks!

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

No branches or pull requests

1 participant