-
Notifications
You must be signed in to change notification settings - Fork 7
Ivan w3 react #25
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
base: main
Are you sure you want to change the base?
Ivan w3 react #25
Conversation
crevulus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -0,0 +1,2 @@ | |||
| export const normalizeCategory = (value: string): string => | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean up files you no longer need. Unused files (otherwise known as "deadwood") can slow down your application if not dealt with.
| ); | ||
|
|
||
| // Показываем состояние загрузки === Show loading state | ||
| if (loading) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice structuring!
| @@ -0,0 +1,29 @@ | |||
| /* src/pages/HomePage.css */ | |||
| .home-page { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have some home page styles in here and some in index.css, when you have some component styles in index.css and some coupled with the component in /components. Keep your styling files consistent so employers can see you're keeping directory orderliness in mind.
| const [loading, setLoading] = useState(true); | ||
| const [error, setError] = useState<string | null>(null); | ||
|
|
||
| useEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use your new hook!

file README LINK.md - with the link
Just in case, I'll duplicate the link here
https://69673818c8ef27f4a13f91f1--celebrated-tapioca-1791f9.netlify.app/