python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Set Cookie in React app works in localhost but not in production
I am trying to set a cookie on the client side in my react web app.
I am using CRA deployed to Firebase.
Tried both js-cookie and react-cookie - in both cases I see that the set cookie code is running...
amiregelz
Votes: 0
Answers: 1
Upgrading an angular 13 app with js-cookie stops running jest unit tests successfully
I have an angular app with version 13 which is using the external dependency js-cookie to set and get some cookies in the browser.
As a test environment I am using jest with jest-preset-angular. See a...
JV3
Votes: 0
Answers: 1
What is the strategy on implementing a jwt auto login?
I'm new to jwt authorisation. Where I come from is just user and password authorisation without jwt. Now, that I learned the basics of jwt, I want to use is and here is my question:
In my login compon...
PeterPan0
Votes: 0
Answers: 1
TypeError: Cannot read properties of undefined (reading 'set')
While I am trying to develop mern ec site.
This error has occurred on the sign in page.
what I have tried
1 Cookies->Cookie, set->Set
2 res.refresh_token->'res.refresh_token'
3 downgrade js-c...
Kanta Yamada
Votes: 0
Answers: 1