SimpleComplex
PD🧩 Plasmo Developers
•Created by SimpleComplex on 3/27/2024 in #🔰newbie
How do I forward an API request from inside a React component to the BGSW?
So, no, you don't need to be in the base "content script" file when calling Chrome API / Plasmo API functions - you can be in one of the inner-containers that are rendered within the main content script.
5 replies
PD🧩 Plasmo Developers
•Created by SimpleComplex on 3/27/2024 in #🔰newbie
How do I forward an API request from inside a React component to the BGSW?
FYI, thos isn't doable if you want to use something like Axios - have to use raw fetch, afaict.
Also, I figured this out just fine. Will post example or just some more details when I'm not on my phone.
5 replies