AnomalyInnovations / serverless-stack-demo-client

Source for the demo app client in the Serverless Stack Guide
https://demo2.serverless-stack.com
MIT License
635 stars 204 forks source link

The Redirection on login broken #5

Open timotanhong opened 7 years ago

timotanhong commented 7 years ago

The Redirection on login seems broken.

To reproduce

1) get a link of notes like : http://localhost:3000/notes/1bbbcb50-5ca9-11e7-a06c-01d04c457710

2) logout

3) paste the link in browser and key in user name pass word to login.

4) After login will see the message :

proxyConsole.js:56 Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the Notes component.

jayair commented 7 years ago

@timotanhong Hmm I couldn't get this to reproduce. But while I was testing I noticed that I had some changes I had not pushed to this branch (https://github.com/AnomalyInnovations/serverless-stack-demo-client/tree/redirect-on-login). Maybe that was causing the issue? Can you give it a try again and see if it makes a difference for you?

quantuminformation commented 6 years ago

@timotanhong please check

anoora17 commented 5 years ago

I have similar problem and then when I try to render any notes TypeError: str.replace is not a function

jayair commented 5 years ago

@anoora17 Can you post the issue on our forums - https://discourse.serverless-stack.com?