1km.co.il
1km.co.il copied to clipboard
Refactor ProtestPage component
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
orProtestStore
? - Can some design elements be reused / omitted?