DevFeed404 / DevFeed-1.0

https://dev-feed-1-0.vercel.app/
18 stars 62 forks source link

Code Enhancement #94

Closed AlfiyaSiddique closed 1 year ago

AlfiyaSiddique commented 1 year ago

Issue

The code at some parts of the project can be enhanced by using efficient and proper react methods instead of repeating code lines. For example, in below screenshot 1, we can use the map function instead of repeating lines. Similarly, in screenshot 2, we can use single usestate hook instead of 3 and initialize that single usestate hook with object.

Purpose of this Issue ✨

To enhance the code of the project and follow the DRY principle (Do not Repeat Yourself) Code

Screenshots

Deskstop desktop

Request

If you think this is worth implementing please assign me this issue under the gssoc'23 label. 🙂

Divyansh3021 commented 1 year ago

If you think, this will improve the performance of website. Then go ahead @AlfiyaSiddique .