Description
If a user manually types an invalid URL (e.g., /dashboard/typo) or clicks a broken link, React Router will likely render a blank page or a generic error because no fallback route is defined in the router configuration.
Proposed Solution
- Create a
NotFound.jsx component displaying a friendly 404 message (e.g., "Oops! Looks like you forged the wrong path.").
- Add a Call-to-Action (CTA) button in the component that navigates the user back to the
/ or /dashboard route.
- Add the catch-all route (
path="*") to the main router configuration to render this component.
Impact
- Prevents users from getting stuck on a blank/broken screen.
- Adds professional polish to the client-side routing architecture.
I have experience with React Router and Tailwind CSS. Kindly assign this issue to me under GSSoC 2026.
Description
If a user manually types an invalid URL (e.g.,
/dashboard/typo) or clicks a broken link, React Router will likely render a blank page or a generic error because no fallback route is defined in the router configuration.Proposed Solution
NotFound.jsxcomponent displaying a friendly 404 message (e.g., "Oops! Looks like you forged the wrong path.")./or/dashboardroute.path="*") to the main router configuration to render this component.Impact
I have experience with React Router and Tailwind CSS. Kindly assign this issue to me under GSSoC 2026.