Skip to content

Refactore app.js file and routing system #114

@Sky-De

Description

@Sky-De

Make this app more scalable with best practices

  1. replace the fragment that wraps the entire app with div along with the class app and role application
  2. replace #root style in global.css with .app class and move it to the app.css
  3. create routeConfig.js file and move all imports for a route to this file, create and export an array with route objects that contain path and element
  4. import routeConfig in app.js and map it to create all routes dynamically

After these modifications,the App will be more scalable and maintainable and follow best practices

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions