shakya7 / mern_notes_app Goto Github PK
View Code? Open in Web Editor NEWSPA Website (without R-Router) with Login, Authentication, CRUD o/p on notes
SPA Website (without R-Router) with Login, Authentication, CRUD o/p on notes
Happening since
i) right now,
useEffect(()=>{
//console.log(signupActivate);
//console.log(isLoggedIn);
if(!signupActivate){ //Clicked on Signup again will set to signUpActivate to false
if(isLoggedIn)
{
if(allNotesActive){ //Now, the allNotesActive is true; i.e why only this if statement will execute
setResultScreen("all-notes");
}
else{
setResultScreen("show-profile"); //NOT THIS STATEMENT HERE
setProfileData(profileInfo); //setProfileData( ) not called-> (another ISSUE-> resolution:this can be included in IF block)
}
}
}
},[signupActivate,allNotesActive]);
ii)
Will not be an ISSUE if the user doesn't reach upto the PROFILE screen ;
i.e if the user will wander around the homescreen(currently blank now), login screen, signup screen, fail to login or signup
Issue:
BUG-2 ! Failure of Signup form doesnt show any Error page
Steps to resolve::
i)>Although it's showing the error message in the console
Failed to load resource: the server responded with a status of 400 (Bad Request)
Error: Request failed with status code 400 SignUpForm.js :67
at createError (createError.js:16)
at settle (settle.js:17)
at XMLHttpRequest.onloadend (xhr.js:66)
ii)Need to check :
the routes/ what is happening after the error is created in Signup form
the error is displaying in the console, but not redirecting to Error page
NEED TO COMPARE with Login form ---> Since failure on Login form redirects to Error page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.