-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring for improvements #88
Conversation
gabin-dongmo
commented
Sep 11, 2023
•
edited
Loading
edited
- Renamed CountryData to UserProfile
- Extracted SvgViewBox component
- Provided strong type for props in Card and PreviewCard
- Improved typing
- Extracted CardSocial component to improve readability
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Why change CountryData to UserProfile ? also, this amendment would update the #80 |
Because the interface refers conceptually to a user's profile instead of a country. Granted, we have profiles organized by countries, but they're still user profiles. Maybe a name different from UserProfile might resonate better... |
Okay, I understand better, thank @Sanix-Darker , could you give your opinion please? |
I realize I went ahead of myself and pushed changes without specifying the issues addressed. I will close this PR and introduce a proper issue to illustrate the changes suggested. |