Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

techreturners/lm-code-react-refactoring

Open more actions menu

Repository files navigation

React Refactor

Task: Follow the three principles covered in today's session to refactor this app:

  1. Components should have one job
  2. Components and variables should be well-named: consistent, accurate, readable, precise 🐟
  3. Use minimal state

Using the repo

  • Run command npm i to install required node modules;
  • Then, start the development server with command npm run dev.
  • Refactor to improve developer experience, while maintaining the current UI/UX

Questions to consider ahead of feedback session

  • Which of the 3 principles did you prioritise for refactoring?
  • The dev here has made lots of missteps, even though the code works fine; which aspect did you find most challenging to work with?
  • Where is the derived state, and what did you do to fix it?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.