1km.co.il icon indicating copy to clipboard operation
1km.co.il copied to clipboard

Refactor ProtestPage component

Open guytepper opened this issue 4 years ago • 0 comments

The ProtestPage component code is very bloated, and lots of it's code can be removed / reused.

🧐 How to approach:

  • Take a deep breath and read the code thoroughly.
  • Think about how will you approach the refactor - taking it step by step, maybe it'll be more easy to rewrite from scratch - you decide.

💡 Things to keep in mind:

  • Are there parts of the code that already exists in other places in the codebase and can be reused? Can we extract some of the logic to other places, such as utils or ProtestStore?
  • Can some design elements be reused / omitted?

guytepper avatar Oct 30 '20 23:10 guytepper