Low performance of react app after deployment [closed] - reactjs

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I have worked on my react application and after deployment, there is very low performance of the app
Github repository link
https://github.com/Elue-dev/react-app/tree/main/react-site/react-site

I cloned your repo inside codesandbox and found the problem.
Sandbox link: https://codesandbox.io/s/infallible-oskar-iiyvv
You are loading big images to the front end. Each of your images is more than 2mb in size.
First of all you should compress the images and ideally make really small
Then google the term lazy-loading and implement that in your application

Related

Hosting MERN Application on Vercel [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 16 hours ago.
Improve this question
Deployment MERN App on Vercel
I've been using Vercel to host several React web applications and it's been great! Recently, I upgraded an existing project with a backend (Express.js and MongoDB Atlas) and I'd like to host it there as well.
I would like to know if the configuration that I've put in my repository is correct in order to make it work on Vercel. Vercel's documentation focuses on serverless deployment, and while I don't mind rewriting my backend if I have to, I'm wondering if there's an easier solution for adding a server/database.
The MERN stack is still relatively popular so I imagine a lot of developers have found a way to host this kind of project. If anyone can help, I would really appreciate it
Here is my repo: https://gitlab.com/narcamarco/project-tours

Failed to load resource: the server responded with a status of 404 (Not Found) in custom domain [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 9 months ago.
Improve this question
when i deploy my new react project to Github pages it works well but when i add a custom domain it shows error like
any solutions??
Seems like your server does not have the resources need to load this site. JavaScript files are chunked into small pieces to fast load the application, as you can see your site is not getting those.

Setting debug=False with Django Rest Framework and React does not work [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I have a project on which I use Django Rest Framework and React.
I also use amazon s3 for static and file storage.
The problem is that when I set debug=False in settings, there is nothing except white empyt page. Have you ever met this problem and what did you do to solve ? Thanks
I solved this problem. In settings.py there is a variable called "STATICFILES_STORAGE = 'storages.backends.s3boto3.S3StaticStorage'". I removed this and all static files uploaded to heroku but my media files run on amazon by the variable called DEFAULT_FILE_STORAGE'storages.backends.s3boto3.S3Boto3Storage'.

Can I use native plugin in cordova project? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I want to use this (https://github.com/ArthurHub/Android-Image-Cropper/blob/master/README.md) in my ionic v1 project for image cropping.
I know we have plugins in Angular for cropping but I want to use this native plugin for smooth function.
You can access an external Java file from Ionic1 . You can access a method and get your response.
But if you really want to import the code as a plugin, then you need to create a custom Cordova plugin using plugman plugin. Refer to this link to access Java method.

Exchange Rate API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am looking to create an application for exchange rate of foreign currencies and need backend for the same. While searching for the same, i came across:
http://rate-exchange.appspot.com
http://rate-exchange.appspot.com/currency?from=USD&to=EUR&q=1 //working demo
I also find the github source for this GAE project at:
https://github.com/hippasus/ExchangeRates
Now the question I have how should I proceed. Shall I use this already deployed project named http://rate-exchange.appspot.com or deploy my own version. If I should deploy my own version then what will be steps.
Thanks in advance
Generally try to use existing code with permission and visibly give credit to avoid plagiarism. Developers who repeat work already done by others learn from the experience but risk wasting time unnecessarily. You learn from others by studying their code anyway.
You may after some experience with the other project think of ways to improve it. Liaise on Github with the original author about constructive collaboration. Sharing code is what makes free and open source software great.

Resources