avinash201199/MemeGenerator

Enhance Back Button: Navigate to Previous Page Instead of Home

Aperta

#119 aperta il 17 ott 2025

 (0 commenti) (0 reazioni) (1 assegnatario)JavaScript (57 fork)auto 404
hacktoberfesthacktoberfest-accepted

Metriche repository

Star
 (24 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

📌Feature Improvement: Enhance Back Button UX

Currently, the Back button redirects users to the Home page. I would like to propose an improvement where clicking the Back button takes the user to the previous page using browser history (navigate(-1)), which provides a more natural and user-friendly navigation experience.

Why This Improvement?

  • Better UX when users come from pages like History or Dynamic.
  • Aligns with typical “Back” behavior in web apps.
  • Does not affect existing routes or features.

Guida contributor