React-Messenger-App icon indicating copy to clipboard operation
React-Messenger-App copied to clipboard

The App seems to be slow !!

Open DhairyaBahl opened this issue 3 years ago • 13 comments

Description

App is working very slowly. It would be great if it can be a bit faster.

@abhijeet007rocks8 I have deployed all the changes ! Kindly confirm if it is slow only at my end or you also feel it is laggy ! Kindly lead this issue.

DhairyaBahl avatar Mar 15 '21 17:03 DhairyaBahl

it just takes a little bit more time due to sheer volume of messages

abhijeet007rocks8 avatar Mar 15 '21 17:03 abhijeet007rocks8

Still ill take a look if i can make it faster somehow

abhijeet007rocks8 avatar Mar 15 '21 17:03 abhijeet007rocks8

@abhijeet007rocks8 Thank You 😄

DhairyaBahl avatar Mar 15 '21 17:03 DhairyaBahl

@abhijeet007rocks8 I think we don't have a loading element in this app right now. I think we can put a simple loading element while the messages load to make the wait-time less frustrating for users. If you would like to include this feature then please let me know as I'd like to work on it by creating an issue for it!

AnjaliPatle avatar Mar 16 '21 12:03 AnjaliPatle

@AnjaliPatle Nice idea go ahead and make the issue

abhijeet007rocks8 avatar Mar 16 '21 13:03 abhijeet007rocks8

I can fix this, we can simply implement React-Virtualized lists in order to make the app load faster. Due to an enormous amount of messages, the first paint of the app takes quite long to load. You can look into the docs of React-Virtualized

Jaagrav avatar Mar 18 '21 22:03 Jaagrav

@Jaagrav I think someone is already assigned to this issue.

@abhijeet007rocks8 If no-one is working on this issue right now, then kindly assign him.

DhairyaBahl avatar Mar 19 '21 02:03 DhairyaBahl

@Jaagrav other participant is working on loading component you can work on improving loading time of the app.

abhijeet007rocks8 avatar Mar 19 '21 09:03 abhijeet007rocks8

We can see about lazy loading in which the content is loaded when you scroll to that part. Refer This https://www.geeksforgeeks.org/what-is-lazy-loading/

abhijeet007rocks8 avatar Apr 08 '21 15:04 abhijeet007rocks8

Why not switch to next js ? That would be boost performance like crazy as it.uses SRR @abhijeet007rocks8 @DhairyaBahl . But it would be quite hectic to change I guess

akshay1027 avatar Apr 15 '21 18:04 akshay1027

Why not switch to next js ? That would be boost performance like crazy as it.uses SRR @abhijeet007rocks8 @DhairyaBahl . But it would be quite hectic to change I guess

Yes I surely agree, I personally work using nextJS and styled-components/Scss its superfast but migrating entire project to NextJS is like making a completely new project.

abhijeet007rocks8 avatar Apr 15 '21 18:04 abhijeet007rocks8

Agreed 🙌🏻

akshay1027 avatar Apr 15 '21 18:04 akshay1027

@abhijeet007rocks8 please assign me this issue

subhangi2731 avatar May 23 '21 16:05 subhangi2731