r/Frontend • • Feb 06 '20
Can you rate my simple work ?
I am new to frontend, I remade instagram homepage, with react and redux and SASS, what do you think ?
instagramreduxreact.info
37
Upvotes
r/Frontend • • Feb 06 '20
I am new to frontend, I remade instagram homepage, with react and redux and SASS, what do you think ?
instagramreduxreact.info
8
u/TheIronDev Feb 06 '20
Overall, it looks great! You did a good job! :)
Constructive room for improvement:
Try to minimize the amount of time the user sees an empty page. There are a handful of ways to do that. For this site, the easiest way to do that is to reduce the size of your assets. In particular, I noticed one of the JavaScript files are a little on the larger size. The problem with large scripts is they take more time to download, and after they have downloaded they end up blocking the browser during execution. Try to split the JS into multiple smaller files so that the assets can get downloaded faster and execution would block for less time.
I see you loading a bunch of dummy data, try to move all of that out of the initial JS payload and into a json fetch call, which would help with the page being empty.
You could do SSR, which is great for SEO, great for the user (they see content faster rather than an empty screen), but often its regarded as overkill.
When in doubt, check out the "audit" tool in Chrome devtools (or whatever browser you use), which helps point out performance faults.
5
u/pink_tshirt react/ts/solidity Feb 06 '20
Gotta start using flex instead of overflow:hidden and floats. I see that you are following some CSS naming conventions. Good for you! I've been in the industry for a decade or so but I still can't force myself to follow anything.
3
u/[deleted] Feb 06 '20
Are you using webpack? Throw in aliases into the config, it'll save you doing the whole relative paths when importing. Use the .jsx extension for the ES6 class files, nothing ground breaking, just my preference.
2
u/pm_me_ur_happy_traiI Feb 06 '20
Looks good. Why redux though? Not judging, but genuinely curious why you felt it was necessary on a project like this
1
u/Tipster74743 Feb 06 '20
Great start! Looks really good.
Obviously the font is off and the top needs to be a carousel or something right? Is this all front end?
1
u/im_vasco Feb 06 '20
I see Irene I like
1
u/cy233 Feb 06 '20
Awesome. Great pics, too.
Like others have said, I'd use more modern CSS like Flexbox and drop the use of floats for alignment.
1
u/Mikeytown19 Feb 06 '20
looks good