How can you return a 404 status code with this SPA approach? If a URL does not effectively exists, a 404 would be more semantically correct than a 200 response code. Is there a way to achieve this somehow while using SPA?
Chief Mentor @ learnwithparam.com | Helping software engineers become AI powerhouses through hands-on workshops & bootcamps π | Mentoring & consulting teams to turn ideas into AI products β impact π
How can you return a 404 status code with this SPA approach? If a URL does not effectively exists, a 404 would be more semantically correct than a 200 response code. Is there a way to achieve this somehow while using SPA?
Unless you sever rendered 404 page, itβs not possible
Will surely research more into the details on how to do it in SPA
Thank you for your reply. I will too!