gmasid
gmasid
PD🧩 Plasmo Developers
Created by Vishal on 4/21/2025 in #👾extension
QueryClient not found
weird, i have a chrome extension running fine with react query. can you send a link to repo so i can try to see where is wrong?
8 replies
PD🧩 Plasmo Developers
Created by Vishal on 4/21/2025 in #👾extension
QueryClient not found
change the options as you need of course
8 replies
PD🧩 Plasmo Developers
Created by Vishal on 4/21/2025 in #👾extension
QueryClient not found
try like this and see if it works: src/lib/query-client.ts: import { QueryClient } from '@tanstack/react-query'; export const queryClient: QueryClient = new QueryClient({ defaultOptions: { queries: { refetchOnWindowFocus: false, }, }, });
8 replies
PD🧩 Plasmo Developers
Created by Vishal on 4/21/2025 in #👾extension
QueryClient not found
try to declare it outside of this context to prevent rerenders
8 replies
PD🧩 Plasmo Developers
Created by Vishal on 4/21/2025 in #👾extension
QueryClient not found
why put queryClient inside a useState?
8 replies
PD🧩 Plasmo Developers
Created by Renasue on 3/28/2025 in #🔰newbie
Best way to send a message from popup to content and get a response in Plasmo?
can you give an example of what you’re trying to achieve to see if we find a good approach?
5 replies
PD🧩 Plasmo Developers
Created by Renasue on 3/28/2025 in #🔰newbie
Best way to send a message from popup to content and get a response in Plasmo?
i replace messaging + storage with zustand to communicate between content script for example. mostly because is synchronous. maybe you can try it for your problem. it’s working pretty well
5 replies