I am observing a weird issue - Let’s say I have the app with DNS name myapp.com.
All notes which belong to the specific users are shown on the main page if the users is logged in. The issue occurs when I refresh the webpage - the list of notes is empty.
I performed some troubleshooting and it looks like it is caused by componentDidMount() component which sets the state. It is processed just one time during first loading of the webpage. When I reload the webpage it is not processed again so the list of notes is empty.
First question - is it only me who has that kind of issue?
I tested the same code but on some subpage, like myapp.com/mynotes and in this case everything works fine, even when I’m refreshing the page the notes are listed.
Any idea how to approach it? I’m stuck