Current state
Guests that are not logged in are able to access the 'new-post' page.
Also, when user refreshes new-post page they don't see any of their data. Very likely due to mobx not updating the profile store? The author data does update however when you click on an input field. Likely an issue with rendering.
Expected state
Guests are not able to access the localhost:8080/new-post page and will be redirected to the login page.
Even when user refreshes the new-post page it contains their profile data.
Current state Guests that are not logged in are able to access the 'new-post' page.
Also, when user refreshes new-post page they don't see any of their data. Very likely due to mobx not updating the profile store? The author data does update however when you click on an input field. Likely an issue with rendering.
Expected state Guests are not able to access the
localhost:8080/new-post
page and will be redirected to the login page.Even when user refreshes the new-post page it contains their profile data.
TO DO
Necessities None
Branch 303-new-post-route-guard