Skip to content
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

Try image optimization in React and also optimize directories' setup #5

Open
amyssnippet opened this issue Sep 3, 2024 · 0 comments

Comments

@amyssnippet
Copy link

Directories setup means how you manage files and folders like for a general app not only this, in src you should make a seperate folder named components for you app like src/components that contains major components like Navbar, footer and any others and in that components folder you should make a ui folder like this src/components/ui where you keep your minor components like tooltip, cards, dropdowns all minors this may optimize you app and can run smoothly.

I checked your codes, due to an irregular directory setup you app optimisation is very bad and it's also affecting image loadtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant