Open NhlakaMbotho opened 7 years ago
Hi, I have a cookie set with an array object. but when I log the value returned its of type string, hence I get this => [ object Object] , [ object Object ] .... Any idea what I'm doing wrong?
I have the same problem,do you have solve it?
hey guys, @NhlakaMbotho @caiyawen you can use JSON.stringify if you are passing object to cookie, and when you get it parse it with JSON.parse.
Hi, I have a cookie set with an array object. but when I log the value returned its of type string, hence I get this => [ object Object] , [ object Object ] .... Any idea what I'm doing wrong?