Gothsec / StockIn

Inventory management system for Pymes
http://localhost:5173
Other
4 stars 0 forks source link

Refactor project navigation to use React-Router #33

Closed Gothsec closed 1 week ago

Gothsec commented 1 month ago

Description:

Currently, the project handles navigation by manually checking window.location.pathname and rendering different components based on the current path. However, this causes full page reloads and makes route handling less efficient.

Proposed Improvement:

Refactor the project to use react-router-dom, a library specifically designed to handle routing in React applications. This will enable smoother, more efficient navigation between different pages without reloading the entire application, improving the user experience.

Tasks:

Example:

image

Gothsec commented 1 week ago

Done ✅