Query + Mutation hooks are not being generated...
rwilliams3088 opened this issue · 2 comments
rwilliams3088 commented
I just upgraded my react and redux dependencies. Now none of the useQuery or useMutation hooks are being generated as they always have been... Help
aryaemami59 commented
Can you provide a minimal repro so we can take a look?
rwilliams3088 commented
I figured it out; at least why the hooks weren't being generated. I had modified my imports from @reduxjs/toolkit/query/react
to @reduxjs/toolkit/query
since I was getting errors about @reduxjs/toolkit/query/react
not being exported by @reduxjs/toolkit
. Apparently the difference between those two import paths is whether or not the react hooks are generated for you!
I switched it back once more, and now everything is compiling fine again.... Damn phantom bugs.... Thanks for your time @aryaemami59 !