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?
@lebronjaimeslannister5 ай бұрын
+1 on this
@mrbutish5 ай бұрын
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
@curiouslycory5 ай бұрын
@@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.
@rand0mtv6605 ай бұрын
@@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.
@viperactual5 ай бұрын
You can still use a "src" directory.
@guddisAlex4 ай бұрын
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?!
@YancyGarretSaac5 ай бұрын
Thank you for this video! I was requesting this kind of content on discord a month ago 😊
@JesseStrangfeld5 ай бұрын
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.
@akashthoriya5 ай бұрын
Suggest more such projects, because it's hard to find good open-source react projects
@mani_naik5 ай бұрын
Is there some open source react project with redux ?
@kizigamer68955 ай бұрын
My doubt why use nextjs for this and not use Astro for it which will have better md support
@muhammadyousufhere5 ай бұрын
Vercel is being kind to nodejs
@pryff95695 ай бұрын
What do you think about the WSD architecture in large React projects?
@ShailendraSingh-cd2ln5 ай бұрын
As always your videos are really good.
@stvn-light5 ай бұрын
How do you make your videos so smooth? What are you recording this video with?
@cosdensolutions5 ай бұрын
Screen studio
@m126525 ай бұрын
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 👍
@PaweSmoka5 ай бұрын
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.. )
@faez3225 ай бұрын
Like your PERSIAN tattoo bro!😍
@Govind_rana5005 ай бұрын
That's Arabic script
@faez3225 ай бұрын
@@Govind_rana500 Thats PERSIAN. google it. این نیز بگذرد
@codealireza5 ай бұрын
@@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"
@jaspervandenbroucke12775 ай бұрын
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.
@meowWeee4 ай бұрын
can you share your react course in other platforms like codedamn, udemy some other
@chadrackkyungu21675 ай бұрын
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
@Amirthanand5 ай бұрын
Whats a "__foldername__" convention for ?
@Yusuffsmartt5 ай бұрын
Amazing boss thanks for this
@Jay-pj7ob5 ай бұрын
Please change the file icons theme to material icons, if possible
@mrkaif23593 ай бұрын
thanks for finding this repo😊
@nemeziz_prime5 ай бұрын
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!
@imok57465 ай бұрын
What level in react should watch this?
@_bestbeast5 ай бұрын
Please make a video on phone authentication in nextjs
@dhananjaym91485 ай бұрын
man give me coupon code for project react ❤
@powerrampage5 ай бұрын
Great video content.
@brooklyn66835 ай бұрын
❤😅
@imkir4n5 ай бұрын
Thanks man.
@ceb418_yashnitinkamble65 ай бұрын
Thankyou Cosden for this amazing opensource repo.... we'll definitely start to contribute to this repo and also gather best approaches from it