t
tRPC
t
tRPC
Best practice for setting headers with local storage
Original message was deleted
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,111
Members
View on Discord
N
Nick
•
4/12/23, 12:38 PM
Generally your auth library will have a method to get the token with redirect if needed
. It
’s best to use that and I
’d be surprised if firebase SDK didn
’t provide it
N
NicoFish
•
7/10/24, 2:18 PM
Hey
, sorry forreopening this but is there a way to update localstorage
.get on every query
? Or another way of persisting data
N
NicoFish
Hey, sorry forreopening this but is there a way to update localstorage.get on ev...
S
sh03
•
7/11/24, 10:56 AM
Wdym with
"update local storage
.get
"
?
S
sh03
•
7/11/24, 10:56 AM
localStorage
.set
?