Better way of serving assets to a react project? [closed] - reactjs

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
My web application has lots of static images(say 100s) to be rendered in the UI.
note that not all images are to be shown on a single page together, instead, those are shown conditionally i.e only 3-5 images are displayed actually in the whole UI.
I want to know does having too many assets affects the production build?

You should upload images to S3, keep the access of these images as public.
If your application is popular you should consider setting up cloud-front in front of s3.

Related

When to use WordPress and when a single paga application framework? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I'm trying to understand when I should use CMS like WordPress and when to use a single page application framework like React and Vue when creating a website. Any help?
WordPress can be used without any (barely any) coding skills. It's also a fast way to get a templated website running. If you don't know how to code, don't have a lot of time, and have a simple site, use WordPress
If you have coding knowledge, have time, and have a complex application, you won't be able to use WordPress, and you will find that out quite quickly.

Should I use backend for portfolio website? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
Hello Guys I am creating porfolio website for an Animation Studio.and they waana add some vidoes on their portfolio website.. I am using ReactJs for website. Do i need any kind of clousd-storage for storing videos,or i just put vidoes inside React project,Kindly help me..
Hosting videos yourself is always tricky. Due to bandwidth limitations, it would buffer a lot and depending on the amount of traffic, the cost could go through the roof as well.
I have done a similar site previously using Gatsby and hosting the videos on Vimeo or Youtube.

Single Page Or Multi Page Web Application? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am creating a web Application with node js,angular,mysql and and express.Application contains different type of record which i have to manage.
So what do i use Single Page Application or Multi Page Application.
To me it comes down to preference and how much work I want to put into my application. Since you are using Angular, I think having the luxury of doing a single page application is great because load time is minimal.
If you take the multi page direction I would suggest ditching Angular and serving files from the server. The benefit of that is that you don't have to handle two applications.
I would use Angular because single page applications are very user friendly right now.
Good luck with your decision.

Uploading Video using Angularjs and Symfony2 [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What is the best way to upload video with AngularJS and Symfony2 using MongoDB database, and more scalable to do the upload in the database or in the application files?
Video is only file, so you can use any module mentioned here: File Upload using AngularJS
If you want to implement it itself, you might like resumablejs.com.
For videos I would go with file system, it will probably be better for streaming video.
As for scaling, it depends on your point of view.
i.e. If your app is running on multiple machines connected to 1 DB than file system is not good idea.

Is that a good idea to create a groupon like website using Angularjs? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm new to Angularjs. Now I'm going to create a groupon like website. So I checked lots of similar websites. None of them using the one-page style. So I'm thinking when to use Angularjs. Is that a good idea to create a groupon like website using Angularjs?
Heck yea it is. The only thing is to keep the initial page load fast. So you might need to dynamically import your js files using something like: http://requirejs.org/

Resources