I Found the Perfect Open Source React Project (Code Review)

  Рет қаралды 66,644

Cosden Solutions

Cosden Solutions

Күн бұрын

Пікірлер: 44
@curiouslycory
@curiouslycory 5 ай бұрын
They did so many great things but the lack of "src" directory makes me so uncomfortable. I wonder if there's a discussion somewhere that explains the thinking because that would be amazing. Mixing camel case and kabab case for files is also unnecessary clutter. Why would you want contributors to have to decide which to use each time?
@lebronjaimeslannister
@lebronjaimeslannister 5 ай бұрын
+1 on this
@mrbutish
@mrbutish 5 ай бұрын
Because every single folder added is a potential ../path/ for imports, also you can only manage your own files case, on a big project it is inevitable someone will mix camel case and hyphens in their functions, variable names, file names, metadata configuration while working between python and JavaScript and Java naming conventions
@curiouslycory
@curiouslycory 5 ай бұрын
@@mrbutish You can add a linting rule that prevents mixed case. Define once, no longer inevitable. Clean code and project structures allow us to more quickly find files, read code, and spot problems thanks to the way the human brain does pattern matching. It also helps avoid decision fatigue by making file and variable naming a smidgen easier.
@rand0mtv660
@rand0mtv660 5 ай бұрын
@@curiouslycory yeah setting it up as a lint rule just also lets reviewers focus on other important things and not kebab vs camel case conventions during reviews. Let linters do this boring work that's prone to errors and easy to overlook, but hard and tedious to enforce manually.
@viperactual
@viperactual 5 ай бұрын
You can still use a "src" directory.
@guddisAlex
@guddisAlex 4 ай бұрын
I looked into the code and really liked all the stuff they put in and how they structured their project... really clean! One thing I dont know about is having all components in index files, isnt it hard to search for files or not?! Another thing i dont know about is to use const and FC do define components?! Why not just a normal function? The overuse of arrow function in const i dont like generally... I tend to use const only if I really need it. Having your functions in actual functions it does not matter where you have it in your component, but nowadays everything has to be in a const var, which originally was meant to define constants ;) And I dont even think they used the pages folde ras the pages router, I think they just used the folder to organize their markdown files or no?!
@YancyGarretSaac
@YancyGarretSaac 5 ай бұрын
Thank you for this video! I was requesting this kind of content on discord a month ago 😊
@JesseStrangfeld
@JesseStrangfeld 5 ай бұрын
The reason for the higher-order components is to be able to use them directly in the MDX files. By embedding React components into the Markdown, authors can dynamically add or remove components from the page rendering without having to change any coding.
@akashthoriya
@akashthoriya 5 ай бұрын
Suggest more such projects, because it's hard to find good open-source react projects
@mani_naik
@mani_naik 5 ай бұрын
Is there some open source react project with redux ?
@kizigamer6895
@kizigamer6895 5 ай бұрын
My doubt why use nextjs for this and not use Astro for it which will have better md support
@muhammadyousufhere
@muhammadyousufhere 5 ай бұрын
Vercel is being kind to nodejs
@pryff9569
@pryff9569 5 ай бұрын
What do you think about the WSD architecture in large React projects?
@ShailendraSingh-cd2ln
@ShailendraSingh-cd2ln 5 ай бұрын
As always your videos are really good.
@stvn-light
@stvn-light 5 ай бұрын
How do you make your videos so smooth? What are you recording this video with?
@cosdensolutions
@cosdensolutions 5 ай бұрын
Screen studio
@m12652
@m12652 5 ай бұрын
This project won't run for me, just get a bunch of module not found errors all pointing to shiki/langs/... Also... it uses a whole bunch of google api's and fonts, not good practice for production from my perspective. Would be interested to see something similar for sveltekit 👍
@PaweSmoka
@PaweSmoka 5 ай бұрын
It is not bad, nicely configured and a lot of ready to use solutions, yet it is far from being perfect (for example issues: default exports, no community based dir patterns, could use signals instead of hooks etc, global styles /a lot of it/, too generic naming / hooks, util /, no module based split so types are global etc. etc.. )
@faez322
@faez322 5 ай бұрын
Like your PERSIAN tattoo bro!😍
@Govind_rana500
@Govind_rana500 5 ай бұрын
That's Arabic script
@faez322
@faez322 5 ай бұрын
@@Govind_rana500 Thats PERSIAN. google it. این نیز بگذرد
@codealireza
@codealireza 5 ай бұрын
@@Govind_rana500 arabic and persian using the same script almost but totally different languages and his tattoo is in persian language which says "this too shall pass"
@jaspervandenbroucke1277
@jaspervandenbroucke1277 5 ай бұрын
Hey, what are some problems in web/software development that companies/developers can face these days? I ask this because I have to do some research on a specific problem in IT.
@meowWeee
@meowWeee 4 ай бұрын
can you share your react course in other platforms like codedamn, udemy some other
@chadrackkyungu2167
@chadrackkyungu2167 5 ай бұрын
Wow thank you for the video, I have been looking to learn how to structure the application to a point where it can scale , again thank you so much love it
@Amirthanand
@Amirthanand 5 ай бұрын
Whats a "__foldername__" convention for ?
@Yusuffsmartt
@Yusuffsmartt 5 ай бұрын
Amazing boss thanks for this
@Jay-pj7ob
@Jay-pj7ob 5 ай бұрын
Please change the file icons theme to material icons, if possible
@mrkaif2359
@mrkaif2359 3 ай бұрын
thanks for finding this repo😊
@nemeziz_prime
@nemeziz_prime 5 ай бұрын
This is so cool! I really like how you teach the best practices for React using live real-world examples to explain how to organize code and write good code. I believe writing code is one thing, but organizing code is as important as writing code. Maintainibility ftw xD Once again thanks a lot!
@imok5746
@imok5746 5 ай бұрын
What level in react should watch this?
@_bestbeast
@_bestbeast 5 ай бұрын
Please make a video on phone authentication in nextjs
@dhananjaym9148
@dhananjaym9148 5 ай бұрын
man give me coupon code for project react ❤
@powerrampage
@powerrampage 5 ай бұрын
Great video content.
@brooklyn6683
@brooklyn6683 5 ай бұрын
❤😅
@imkir4n
@imkir4n 5 ай бұрын
Thanks man.
@ceb418_yashnitinkamble6
@ceb418_yashnitinkamble6 5 ай бұрын
Thankyou Cosden for this amazing opensource repo.... we'll definitely start to contribute to this repo and also gather best approaches from it
@afzalhamdulay
@afzalhamdulay 5 ай бұрын
At first i thought why grim is commenting here😂
@DoerNation
@DoerNation 5 ай бұрын
​@@afzalhamdulay😂
@grugbrain
@grugbrain 5 ай бұрын
Awesome!!!!🥳
@imornar
@imornar 5 ай бұрын
I lost you at hoc usage, thanks, i'll pass
@edhahaz
@edhahaz 5 ай бұрын
Not overkill, beyond overkill
I Built a Game with React (Code Review)
23:46
Cosden Solutions
Рет қаралды 6 М.
The Most Important Design Pattern in React
35:04
Cosden Solutions
Рет қаралды 59 М.
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,9 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 137 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Compound Components in React (Design Patterns)
18:21
Cosden Solutions
Рет қаралды 41 М.
Refactoring a React component - Design Patterns
15:19
Cosden Solutions
Рет қаралды 97 М.
You Are Using useEffect Wrong
14:40
Cosden Solutions
Рет қаралды 35 М.
Why Did They Do This?! (Code Review)
18:48
Cosden Solutions
Рет қаралды 15 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 681 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 259 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
I Reviewed Your Beginner React Code
12:36
Josh tried coding
Рет қаралды 100 М.
The AI-Powered VS Code Killer? Checking Out Cursor and AI Coding
26:33
Milan Jovanović
Рет қаралды 11 М.
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,9 МЛН