r/reactjs • u/bbcjs • Dec 21 '20
Needs Help What are some examples of clean and good quality React projects on github?
Looking for some good React project examples where the code quality is something to model off of. Any suggestions?
412
Upvotes
95
u/goobsy Dec 21 '20
I've been looking for other examples similar to HospitalRun:
https://github.com/HospitalRun/hospitalrun
Pretty impressed by it.
25
u/ggcadc Dec 21 '20 edited Dec 21 '20
The tough part of this is that larger more complex projects usually span enough time that team members and style changes throughout development. This makes the uniformity lower, thus overall quality lower as well.
I attempt to open source everything I work. This forces devs to think about exposure, and this exposure tends to curtail taking shortcuts.
Here are some projects-
Zesty.io’s Admin UI is built with React, styled with SASS and is a reasonable example of a very real world code base.
https://github.com/zesty-io/accounts-ui
Zesty’s manager UI is an example of a much more complex code base that evolved over time. It isn’t what I would call a “clean” codebase but it was always developed with style standards and best practices in mind.
https://github.com/zesty-io/manager-ui
Third And Grove’s Gatsby repo is fairly clean. The standards when I started this project were pretty strict. Styled with emotion, compared to sass or similar approaches I think it’s much cleaner.
https://github.com/thirdandgrove/thirdandgrove-com-gatsby
There may be better examples of smaller projects but honestly, I don’t think keeping a very small project “clean” is much of an achievement. Something you may want to look at are libraries like react-router. Open source heavily used and iterated projects require huge efforts to maintain code quality.
Edit: or, redux :)
17
u/rkomi Dec 21 '20
Examples of large production-grade, open-source React apps
7
u/sunburned_goose Dec 21 '20
https://github.com/destinyitemmanager/dim
9 million Guardians served.
17
u/tylerdhenry Dec 21 '20 edited Dec 21 '20
I've looked into this a little in the past and people seem to like Spectrum because it's a large, well organized "real world" codebase. (I've gotten into it a little but got sidetracked... Learned a few things despite my laziness though!)
https://github.com/withspectrum/spectrum
Edit: correct link
5
u/twitterisawesome Dec 21 '20
https://github.com/Uniswap/uniswap-interface
4
u/whtintheworld Dec 21 '20
I'd be interested in this as well!
4
u/warandpeace14 Dec 21 '20
This project is linked a lot but I found it very clean, and therefore helpful.
https://github.com/oldboyxx/jira_clone
3
u/blinkmylife Dec 21 '20
Can someone recommend react native project? Plese, something like Wolt would be nice
2
u/rambosalad Dec 21 '20
Shopify Polaris
2
u/noknockers Dec 21 '20
Uniswap
2
u/veeeerain Dec 21 '20
Do you guys build from the ground up for css or do you guys bootstrap normally, css takes the longest for me
2
u/Anakaman Dec 21 '20 edited Dec 21 '20
This seems like a pretty good structure. I just been browsing the code for a little.
Seems like he’s using Next.js and Styled components with React.
https://github.com/sulaimanh/devshub
I actually reached out to him and he’s thinking of making it open source so others can contribute
2
u/KremBanan Jun 11 '21
https://github.com/pancakeswap/pancake-frontend is pretty good imo.
1
u/fience Dec 21 '20
Saved
0
u/[deleted] Dec 21 '20
[deleted] — view deleted comment