personne
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
Maybe it is broken, who knows.
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
Did you try to clone the example and check if it work directly with the example?
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
There are a
with-storage
and with-redux
examples26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
Hope you find your treasure: https://github.com/PlasmoHQ/examples/tree/main
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
For Redux, I know no shit! :-D
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
The base package should be able to do that, but the hook is needed cause of React
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
And use
import { useStorage } from "@plasmohq/storage/hook"
in popup.tsx
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
Since you are using
popup.tsx
, you are using some JSX (tsx), you also need ton install @plasmohq/storage/hook
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
At least, for the moment I see one thing to test
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
I might know why
26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
Are you using
@plasmohq/storage
, or secure/hook ones?26 replies
PD🧩 Plasmo Developers
•Created by cygnusgod on 12/18/2023 in #🔰newbie
Getting data from the current tabs localStorage
What is it exactly not working? You have an error, a
undefined
, a null
? Are you running the dev
env with Firefox?26 replies