Sleigh
PD🧩 Plasmo Developers
•Created by Sleigh on 10/16/2023 in #👟framework
Multiple Content Scripts on One Page Not Working As Expected
@Pallas Why is my CSUI component throwing this error whenever I import useState or useEffect from React?
Uncaught Error: Cannot find module 'react'
7 replies
PD🧩 Plasmo Developers
•Created by Sleigh on 10/16/2023 in #👟framework
Multiple Content Scripts on One Page Not Working As Expected
It 100% is the react import. I added another useState in the other component that didn't have one. For some reason the react import is killing the components
7 replies
PD🧩 Plasmo Developers
•Created by Sleigh on 10/16/2023 in #👟framework
Multiple Content Scripts on One Page Not Working As Expected
A big part of this seems to be intermittent errors around React
7 replies
PD🧩 Plasmo Developers
•Created by Sleigh on 10/16/2023 in #👟framework
Multiple Content Scripts on One Page Not Working As Expected
The more I dive into this the weirder it gets lol. It seems be intermittent, sometimes both elements are on the screen, sometimes only one is, and sometimes weird things like fonts not loading ends up happening
7 replies
PD🧩 Plasmo Developers
•Created by Sleigh on 3/23/2023 in #🔰newbie
No Response from sendToBackground()
@louis I was able to find another message where you said the same thing haha, thanks for the help!
6 replies
PD🧩 Plasmo Developers
•Created by Sleigh on 3/23/2023 in #🔰newbie
No Response from sendToBackground()
So I figured this one out, turns out generate needed to be in a messages folder.
But now having an issue accessing the currently logged in user (in the popup) from the background worker. I assume it must be possible to authenticate requests in a background worker so hoping to find out what I need to do to accomplish that
6 replies