Junior vs Senior React Folder Structure - How To Organize React Projects

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 364

  • @devinosborne3396
    @devinosborne3396 2 года назад +300

    Can't believe this isn't more documented on the web yet. People need to start talking more about what it looks like to build projects with enterprise level structure :D Great Stuff!

    • @joaquin67
      @joaquin67 Год назад +2

      This was my very first concern learning how to make simple apps back in college. Nobody was really able to answer my question and just like you said, it's not documented at all online! It would have sped up my learning so much.

    • @joaquin67
      @joaquin67 Год назад +2

      @@pleasejustletmebeanonymous6510 while that may be true, just seeing one example that's thought out and explained is a major help in getting my head wrapped around the bigger picture of the application. It can then help me better understand other projects, regardless of structure. But now I wonder if many projects will have to be re-written with the help of AI lol

    • @shenrr6802
      @shenrr6802 Год назад

      @@pleasejustletmebeanonymous6510 Agreed, but I would like to add that it is the responsibility of leadership and management to work on this, and the devs should be vocal about it.

  • @renatolins4670
    @renatolins4670 2 года назад +5

    This is what I do as a front-end specialist:
    - domain: This is a suggestive/temporary name that represents the only(and the main) module that the application has. If/when the application scales, new folders like this would be created for each domain, so we could have 'users' (for example) and its components, pages, icons, hooks, etc., and another folder called 'payment' and its components, pages, icons, hooks, etc. It is important to highlight that an application domain can have multiple pages and that those pages will be sub-routes, for example, users/registration, users/permissions, etc
    - shared: A folder represents code that is used/reused without being tied to any application's rule. This folder is not called 'common' because it does not just hold common code but also has the potential to become a private/internal library - other projects within the same company could be using a versioned flavor of this folder. Regarding the project's structure/organization, this folder is also a container for another folder, so it will hold shared components, models, icons, hooks, etc.
    So...
    Pages (and page folders) will not be treated as containers for multiple pieces of code, as this only happens with domain and shared folders. Pages will be treated as normal components, with the difference that they will be rendered when we reach certain routes. That said, components and pages will use the same naming conventions, coding patterns, testing approach, etc

  • @patocardo
    @patocardo Год назад +55

    As far as my experience allows me to say, I can add the following:
    1. the 'junior approach' becomes very problematic as soon as a second programmer start to work on that code. So I would directly jumpt to the second approach
    2. The third approach is very near to the hexagonal architecture, which facilitates the ownership of each programmer in a domain, reduce the risk of conflict and makes it cheaper to transfer the domain to another service. At this point, typescript should be used, and a "dto" folder for types should also be added.

  • @BeCurieUs
    @BeCurieUs 2 года назад +15

    One big addtion to consider is a template/transform file structure for API calls. When dealing with mock data and mocking all API functions, having a specific data/API/Mock folder system is super helpful Our rule of thumb is a file per URI so /v1/files GET/POST/PUT would all get its own template transform file (turn BE values to FE values and the reverse), a mock API responce File, and the accociated tests for them. That kind of breakdown makes dealing with the API layer much more tidey.

    • @dotnetfullstack3217
      @dotnetfullstack3217 2 года назад

      if you have any reference code regarding this can you provide the link please

    • @MietekPomywacz
      @MietekPomywacz Год назад

      So you have any reference code regarding this? :D

  • @florianhundegger
    @florianhundegger 2 года назад +296

    great video! would love to see a next part on a nodejs / express backend api!

  • @typingturtle5155
    @typingturtle5155 2 года назад +80

    Neat idea! Would love to see a followup on monorepo structure.

    • @krumbo
      @krumbo 2 года назад +5

      Yeah mono repo +1. Shows us the structure for a multi tenant app.

  • @ewolz
    @ewolz 2 года назад +64

    As junior Dev, it's great to see these patterns half of which I formulated on my own, the other half I'm learning here 😅

  • @enjoylife9571
    @enjoylife9571 2 года назад +1

    I did this project without watching it first. I used "startsWith" method instead of "includes" . It sorts words much logically 🙂
    Thank you for teaching useful projects

  • @webwisesagar
    @webwisesagar 5 месяцев назад

    The Combination of Pages Folder and Components Folder in medium size projects really make structure cleaner.

  • @PrinceRk_
    @PrinceRk_ 2 года назад +83

    as always, so clear and well explained.
    I suggest you to share an actual project (if you can of course) for each type of structure. It would be amazing, I guess a lot of people likes to have an exemple to work with as I do.
    anyway, just keep going you are amazing !
    ha and thanks for the free course :)

  • @user-yz5hj3zg2x
    @user-yz5hj3zg2x 2 года назад +10

    Hi, Kyle! I heard you said once that, before getting your first job, you had researched the companies for which you were going to apply before actually applying to their job offers, so that you could focus your efforts, instead of sending tons of applications, and also make sure you'd end up in a work environment you'd like, and all that payed off in the end. Could you please share how you got informed about the companies' cultures and how did you know they would be a good fit?

  • @PROJECTJMUSIC
    @PROJECTJMUSIC 2 года назад +3

    This was extremely helpful! I'm building a rather large project and couldn't think of a clever way to structure my files. As I'm still at the start it'll be quite easy to apply your method of folder structuring.

  • @MrSh1zzle
    @MrSh1zzle Год назад +1

    One thing i usually do is create a folder for each component. the folder contains an index.ts and a "ComponentName.ts" (or .js if you use that), the component is exported as default from the index.ts, this way, you have a folder which encapsulated everything related to that specific component (styles, tests, logics, etc..) AND when importing you only have to reference the folder instead of the folder and the component because it's exported from the index.ts, (eg import ComponentFoo from "components/ComponentsFoo" instead of "components/ComponentsBar/ComponentsBar") best of both worlds. I already hear the question "Why only export from index.ts and not just place the entire component there?" ---> because if you keep it separated you can still easily search for components in a growing code-base.

  • @JimKernix
    @JimKernix 2 года назад +4

    Thanks for this. I already had a pages , components and a sub-components inside components. I just added a data folder and moved my data into there. I created a utils folder but I don't have anything in there yet.

  • @LeonC0704
    @LeonC0704 Год назад +6

    I wish you had a course making a full complicated website (with auth) from beginning to end. I think the hardest part is putting it all together

  • @Emerald13
    @Emerald13 2 года назад +13

    Video suggestion: best practices for publishing react components as libraries

  • @OleksandrBorysenko333
    @OleksandrBorysenko333 Год назад +2

    Yep, folder structure it's important for each project!
    With your approaches, I can scale my app easily.
    Great video.

  • @CreativeB34ST
    @CreativeB34ST Год назад +8

    Instead of having those global folders, you could create a "global" or "shared" folder under "features" and get rid of that duplicate folder structure. This way you have src > features > [authentication, projects, settings, shared, todos] > [assets, components, context, data, hooks, ...]

  • @prodbyblvnk
    @prodbyblvnk 2 года назад +1

    this/similiar structure combined with Material Icon Theme (VS Code has it as an extension) can do wonders

  • @Xi-tler
    @Xi-tler 8 месяцев назад

    Really bro 3rd method is really advance level..
    Appreciate your teaching skills👍👍

  • @aleksd286
    @aleksd286 Год назад

    Yes, been using folder-by-feature with my team for the past 3-4 years. Scales really well, because ourcode base has around 8-9 people actively commiting to it. (It's a monorepo too)

  • @offroaders123
    @offroaders123 2 года назад +1

    Thanks so much for making this video! I've been searching for a breakdown like this for some time now, and this will help a lot with structuring my NPM projects' folders.

  • @Jrrs2007
    @Jrrs2007 2 года назад

    As a pro react engineer, this is the first time I've seen it explained like this... it makes so much sense!! Thank you!!!

    • @nathanr6479
      @nathanr6479 2 года назад

      Why put entire libs under libs folder if it is much more simple to update package.json ?

    • @Jrrs2007
      @Jrrs2007 2 года назад

      @@nathanr6479 the package.json is your blueprint, your package-lock.json is your actual installed modules and libs would contain the code you write for them, you don't always just import a module into your components.

    • @nathanr6479
      @nathanr6479 2 года назад

      @@Jrrs2007 that is great

  • @jiancui6853
    @jiancui6853 6 месяцев назад

    Great video! I've been looking for feature pattern of react for weeks, and this is the most perspicuous one.

  • @OliverPlummer905
    @OliverPlummer905 2 года назад

    This is great. Using standard and best practise project folder structure is very important.

  • @anupmahato6163
    @anupmahato6163 2 года назад +6

    Clear and neat folder structure . Just few additions may be a folder of constants, router and store for state management

  • @Andressuquaz156
    @Andressuquaz156 2 года назад +2

    It always weirds me out the tiny amount of talk on this topic, for me one of the most difficult things in a react project (or any project, really) is the folder structure. A great work as always Kyle

    • @elgalas
      @elgalas 2 года назад

      Tiny amount? Perhaps it is a matter of perspective, but for me it seems like this is what everyone talks about!

    • @balddog470
      @balddog470 2 года назад

      also readability and DRY code

  • @audaryarathod3052
    @audaryarathod3052 2 года назад +1

    It’s like you just read my mind. Waiting for node/express pro folder structure.

  • @yajirushik2871
    @yajirushik2871 2 года назад

    I have looked for 6 days how to organize project structure properly for full-stack app I have learned smth but there are too many examples so I got confused. Thank You! 🚀

  • @lucienchu9649
    @lucienchu9649 2 года назад

    Thanks, finally someone talk about react project file structure.

  • @ryanthedeveloper
    @ryanthedeveloper Год назад

    My team and I essentially use this same structure for our Big Pharma clients like Pfizer and Novartis. A little 2 cents about what we do - we first take the src folder and put a front-end & back-end folder in there. With the new server components coming out, we thing its a good idea to begin adopting this now. Then in each of those folders we have a "common" folder - which is obviously components that have the potential to be used everywhere, but being explicit makes life easier yall!! lol then we have a breakdown very similar to what is in this video except the frontend folder handles all the static assets, and no "services" since we have a server, api, middleware, auth, etc. folders in the main backend folder and the FE folder again has almost exact structures shown here - hope someone gets something cool from my ramble lol

  • @gillesashley9314
    @gillesashley9314 Год назад +6

    The only problem I have with React is the freedom they give u to decide your project structure. I love React a lot but I normally choose Angular just because it structures your project for you.

  • @bigazTV
    @bigazTV Год назад

    idk why this is never part of tutorials. I just wish tutorials would show how to break down files and folders with react etc. thank you

  • @mikemontgomery8313
    @mikemontgomery8313 2 года назад

    hallelujah some clarity on building real world react apps...not the usual tutorial toy project

  • @hanszoll4943
    @hanszoll4943 2 года назад +2

    Great video! Would’ve been nice to see how a small application file structure is turned into a medium sized application’s structure and so on…

  • @antcannon
    @antcannon 3 месяца назад

    This is nice. It would be great to see the files as you went along.

  • @aymenob2484
    @aymenob2484 2 года назад

    please keep doing what you do you are my favorite youtube coder when i need to understand a subject , you helped me alot

  • @kylespc1372
    @kylespc1372 2 года назад

    I searched for this video a few weeks ago, thanks for making this!

  • @vincent-thomas
    @vincent-thomas 2 года назад +5

    (More advanced) I would move root level features, services, hooks and other stuff thats esssential for the app to function to a new folder called 'core' for easier folder structure. I would also add 'store' folders to features. I would also add the folder 'domain'. I would use this with domain driven development. I would put pages components, hooks, and services there too. I would put all http-based services in an seperate folder called 'http' too. This is for being as clear of whats going on.

  • @Mikenight120
    @Mikenight120 2 года назад

    I was looking for this the past week!! Super great timing!!

  • @valikonen
    @valikonen 2 года назад +1

    I use like this: core(auth, interceptors, etc), shared(reusable components), features(pages and related features to that page), layout(header, footer, etc), helpers(helpers functions, constants)

    • @jeklo3713
      @jeklo3713 Год назад

      are you still using that now?

  • @kevinbatdorf
    @kevinbatdorf 2 года назад +2

    Encapsulating everything in your index.js file is an anti pattern and will have issues with tree shaking code you may not be using, or when dynamically importing. Instead, you can use a ts/js config to set paths to make imports without awkward ../../. Also, I’d avoid any default exports when writing application code as it can lead to team members naming things confusingly.

    • @dealloc
      @dealloc 2 года назад

      Depends on the module pattern. If you use ESM and export (not export default) and import (not import * as) this is not a problem. Most tree shaking nowadays does static analysis to both find out what you import and their dependencies and only include that in a build.
      However, consolidating exports in an index file has the disadvantage that it can create circular dependencies (if you import it from re-exported files), makes dynamic imports import unnecessary files and make builds slower due to this optimization path.
      It's fine to provide a library which exports public APIs (i.e. a ui library that exports components that should be consumed by apps), but internally it can create a headache.

    • @spiderdev5166
      @spiderdev5166 2 года назад

      How do you remove the awkward ../../?
      In nextjs i use the baseUrl:"."
      But in react does not work, how do you do?

    • @kevinbatdorf
      @kevinbatdorf 2 года назад

      @@spiderdev5166 you mean like an alias in webpack?

    • @spiderdev5166
      @spiderdev5166 2 года назад

      @@kevinbatdorf Im talking about the imports
      instead of: import {Component} from "../components";
      like this:
      import {Component} from "components";

  • @GretSeat
    @GretSeat Год назад

    I appreciate your videos. I love watching them. I've been banging my head with good folder structure, so thank you for this.
    But I have a question...
    How do you get your hair so perfect every single time? I'm growing mine out, and I want to have god like hair like yours.

  • @enocholuwanifiseoduyale2783
    @enocholuwanifiseoduyale2783 2 года назад +1

    This came just right in time. Thanks so much

  • @Enes-ik4bm
    @Enes-ik4bm Год назад

    Thank you for this helpful video bro. I really appreciate you for sharing infos that no one shared with us in our companies.

  • @boomer5015
    @boomer5015 2 года назад

    Great explanation, hadn't thought of the features approach in that way.

  • @jeggy94_old1
    @jeggy94_old1 2 года назад +2

    We just use a very strict naming convention, so it's all about using the find file shortcut.
    Building a folder structure always fails in huge projects from my experience.

    • @rdubb77
      @rdubb77 Год назад +3

      Agreed. Too much structure actually makes it harder to find things. Strict naming and a relatively simple folder structure is best IMO

  • @phillysupra
    @phillysupra 2 года назад +1

    This is the main reason I went the angular route.. It forced me to structure and organize right off the bat.

  • @borisnekezov6620
    @borisnekezov6620 Год назад +1

    Thank you very much, Kyle! Really one of your best videos! You explain really well how to scale react application. Especially for intermmediate and advanced!

  • @n3wtou
    @n3wtou 2 года назад

    I am using the last structure for all my projects now. On an unrelated topic, please do a video on creating a WYSYWIG Editor with draftjs.

  • @DillonRedding
    @DillonRedding 2 года назад

    Very helpful, thank you! My only objection would be the name of the "services" folder. Every other folder contains the type of thing corresponding to that folder's name. OTOH, the services folder contains clients to APIs/services, so I'd probably go with "clients" instead of "services".

  • @williamowen1575
    @williamowen1575 2 года назад

    This inspired me and today I went on a node.js rampage to automate my setup. I made this amazing program with yargs, and learned how to make a global cli command for access to it with the package.json bin.
    The features folder is awesome. Except wheres your Docker file? 🧐
    Looking forward to your hooks video.

  • @niravparmar7856
    @niravparmar7856 Год назад +1

    This is Gold ❤ Thanks brother for sharing such with the world. This will definitely be helping freshers a lot.

  • @adityanayak01
    @adityanayak01 2 года назад +1

    Its amazing how u know so much detailed stuff and yet explain it all together in minutes 🎓

  • @dikamilo
    @dikamilo 2 года назад

    Even more advanced structure for large projects is monorepo with separate apps and libs managed for example by nx build system. So for example, authentication feature is separate lib that have just that and use other smaller libs as dependency.

  • @rafin_rahman
    @rafin_rahman 4 месяца назад

    simplified as usual! I will apply some of the logic to my NextJS projects

  • @ScottGarson1452
    @ScottGarson1452 2 года назад +7

    Hi Kyle. I love your videos, and even an ancient architect like myself has learned a thing or two :)
    I'm curious about what are your thoughts on using extensions to identify the type/intention of a code file, similar to `App.test.js`.
    e.g.
    - `text.utils.ts` vs,`textUtils.ts`,
    - `user.model.ts` vs. `userModel.ts`
    - `subsection.routes.ts`` vs `subsectionRoutes.ts`

    • @Saver174HowTo
      @Saver174HowTo Год назад +1

      I have started to use those extensions for my files and I see myself only benefiting from it (but note that not every file can have extension).
      To have an example - I have folder 'types' and there is modal.types.ts
      This way when I am looking for modal types I can type modal.types and this will be the first file (as I have also other components named modal, eg. ModalRenderer). So it will significantly ease the searching for file and that's what you want in most cases.

  • @xReDxTuRtLeZx
    @xReDxTuRtLeZx 2 года назад

    great tips. just followed a react vid to make a portfolio site, and was unsure about how i wanted to go about the files when i start to personalize and add to it. ill be using intermediate style as it looks robust enough for a personal project

  • @user_ahfvppkjb
    @user_ahfvppkjb Год назад

    Great simplified explanation, thank you.

  • @nomadshiba
    @nomadshiba 4 месяца назад

    you can also make your features with package.json workspaces
    that way you dont accidentally import from features directly

  • @rdubb77
    @rdubb77 Год назад

    When using a “framework on a library” like React Admin I think it’s a bit different, as the components do so much heavy lifting that you can have a relatively simple folder structure while having a fairly complex app.

  • @csy897
    @csy897 11 месяцев назад

    If you have features that can be completely independent like that you may want to consider using module federation instead. Though it is a good idea to build like that from the start so that you can easily mfe it later on.

  • @RaubeR666
    @RaubeR666 Год назад +1

    In my projects I use something between the 2nd and 3rd approaches. I've always formulated it as "the App is a component, it consists of components". Therefore any tiniest button can be thought of as a separate app, however simple it might be - just a different app solving a specific task. Regarding the "features" folder, here it is described as a special case. But you've already had "pages" and "components" by then, so why not use the concept of collection folders? In this case you may have any number of plural-named folders with related components on demand, at any depth in the project (since all depths are equal, all being apps).

    • @sidbee604
      @sidbee604 Год назад

      Reusability should be first argument.

    • @khoroshoigra8388
      @khoroshoigra8388 Год назад

      @@sidbee604 reusability could be use the decoration pattern in a component

  • @punished_hate_army
    @punished_hate_army Год назад +14

    Hmmmm, yes, this is why my project is falling apart. I need to put my files in the right places....

  • @thecherryandbrucechannel7551
    @thecherryandbrucechannel7551 2 года назад

    my life has just been changed by your video!! #ReactFolderStructure !!!!! Yes, please!!!

  • @rohitkf8474
    @rohitkf8474 2 года назад +1

    Please do a video on
    HOW YOU STYLE YOUR HAIR !!!
    Coz man.... it's so freaking cool 🔥🔥❤️

  • @ЛусінеАтаджанян
    @ЛусінеАтаджанян 2 года назад

    Thank you so much for this great video about components tree / folders structure in react apps!

  • @gauravpoudel7288
    @gauravpoudel7288 Год назад

    Ur the teacher I never had

  • @IhorVyshniakov
    @IhorVyshniakov Год назад

    thank you maaaaan!
    for now it looks logical, but before your video it was always a headache to understand th structure & place my code into correct place in difficult project structure

  • @khoinguyen-ft2ys
    @khoinguyen-ft2ys 2 года назад

    Thank you. Hope you make this video sooner.

  • @ankitshukla8640
    @ankitshukla8640 2 года назад

    Hey Kyle, please make a video that explains how to use tests in react project?
    Cause first thing I always do is get rid of every test script in the CRA boilerplate.

  • @guygolan3685
    @guygolan3685 2 года назад +25

    folder structure (especially in React) is soooo opinionated. it would serve you best to think "how will it scale" when deciding or changing a folder structure instead of memorizing a/b or c. also, most projects scale over time both in dev# and in features so its reasonable to think that they will also require a change of folder structure

    • @kylemckell
      @kylemckell 2 года назад +6

      React actually has very unopinionated folder structure. You don't have to follow any of this aside from adhering to whatever your framework of choice enforces (i.e. page directory in Next.js).
      Imo, this is overanalyzing folder structure. I think following a structure of only separate when necessary is always a better mode than trying to prescribe a folder structure to your codebase.

  • @dulanjanadevindabandara6648
    @dulanjanadevindabandara6648 2 года назад

    Please do a course project using this advanced folder structure.

  • @frogery
    @frogery 2 года назад +2

    may our folder structures remain as neat and clean as his hair.

  • @sunraiii
    @sunraiii Год назад

    You: "Hey dude, I was wondering if you could help me structure my Rea..."
    Lead dev: "MORE FOLDERS!!!"

  • @joshuagalit6936
    @joshuagalit6936 Год назад

    Can you also discuss the Atomic Design Pattern because that is what I've structured my component folders in my projects/company projects

  • @MysterKnajt
    @MysterKnajt 2 года назад +2

    „features” folder is also often named as „modules”.

    • @kevinbatdorf
      @kevinbatdorf 2 года назад

      or “packages” in mono repos

  • @liaozhangpeng4436
    @liaozhangpeng4436 2 года назад +2

    advanced version feature is like angular module

  • @weho_brian
    @weho_brian 2 года назад

    the best folder structure is one you can past on to another developer with little to no documentation.

  • @gehanadel3616
    @gehanadel3616 Год назад

    I would prefer to see that while you are creating a real project it would more helpful and on way or another it was very helpful to get that as a junior

  • @harviepurgatorio1056
    @harviepurgatorio1056 2 месяца назад

    thank u for the folder structure

  • @orco3847
    @orco3847 2 года назад

    You know, you just read my thoughts 🙏🏼😊

  • @saravanasai2391
    @saravanasai2391 2 года назад

    I have learned design patterns for building large scale projects in php framework like Laravel. There is a Famous Pattern Called Do-mine Driven Developement which same like a feature folder that you have explained But really a Great idea to structure like this.. thanks for sharing this with us

  • @clever6150
    @clever6150 2 года назад

    that's a great one!! absolutely beneficial, thank you so much, this video and the design pattern series are incredibly useful and helpful, I really appreciate your work! keep it up. 💪

  • @ilmanmanarulqori5632
    @ilmanmanarulqori5632 2 года назад

    Great Video, please make some Project usecase video with "Advanced" structure using react

  • @dane2565
    @dane2565 Год назад

    I'd love your opinion on microfrontends, turborepo, and monorepos in general for microfrontends architecture

  • @VietLe-hw8fy
    @VietLe-hw8fy 2 года назад

    It looks good! But we still need time to work on it to see how good it is

  • @hwj8640
    @hwj8640 2 года назад

    awesome video with great advices! Can you do another video to guide us how to re-use React components across Projects ? I used to copy-paste...

  • @reactslayerdev
    @reactslayerdev Год назад

    Whould be great also to see how to structure right next.js + ts. Thanks for vid

  • @alexandrsachishin962
    @alexandrsachishin962 2 года назад

    feature sliced design is the best approach

  • @tarekabdou2217
    @tarekabdou2217 2 года назад +1

    Great video as always Kyle-- thank you!
    In the intermediate and advanced folder structure, where do you store the css files? I only saw one css file in the assets folder -- do you usually put all your css in one file? I would think there would be multiple files as we would have styling for each component and then styling for each page (to put the components together). I'm new to this so I might be completely off-track here!

    • @prestontiger
      @prestontiger 2 года назад

      That was my exact question. I guess I could put it in it's own folder for now. But would love some insight from someone who knows what they are doing.

    • @leopettecrew5695
      @leopettecrew5695 Год назад

      It's been 8 months since this comment was posted. But I was just about to ask the same thing. I think the best practice here if you're going for an intermediate/advanced file structure is to include css files in the component folder for each component. Makes the most sense to me anyway. If you're going to the effort of modularising each component in its own folder, why place the styling for those components anywhere else? I guess maybe you could have a css/styles folder, and then put each component css in it's own folder/file...
      Something like this could look like:
      components/form/[
      styles/[
      button.css,
      checkbox.css,
      input.css,
      ... etc
      ],
      ... components
      ]
      ... other components

    • @leopettecrew5695
      @leopettecrew5695 Год назад

      Just to follow on from that:
      I suppose you will want global styling too, in which case it does make sense to have a styles folder at the top of src/

  • @amineayachi335
    @amineayachi335 Год назад

    i think for enterprise level we need some kind of clean architercture with 4 layers like presentation infrastructure domain and application with dependency injection and repository pattern this will follow the mvvm pattern also

  • @hedi_muhammad
    @hedi_muhammad Год назад

    Well done Kyle!

  • @_romeopeter
    @_romeopeter 2 года назад

    Really appreciate this man. Thank you!

  • @BoodskiBro
    @BoodskiBro 2 года назад

    Sure, in the javascript world, tests go in the same folders as the production code they test, but tests being in a completely separate folder has been the norm in the Java world for decades.

  • @alexanderzharkov6953
    @alexanderzharkov6953 2 года назад

    Kyle you rock. Thank you. Awesome video, learned a lot

  • @RichardCurrie
    @RichardCurrie 2 года назад

    Dont think 3 is generally necessary even for large projects. Might be a good addon for some cross cutting concerns mixed with the page folder model from 2

  • @newagene8276
    @newagene8276 Год назад

    Can you show us how the advanced react project will like , for example as you said no imports inside features so how's it gonna work?

  • @ashlandwest1647
    @ashlandwest1647 Год назад

    Bold of you to assume my features don't have their own features.
    JK, thanks for another great video!

  • @animeshtimsina3660
    @animeshtimsina3660 2 года назад

    Great video! Can you make a similar video on a Next.js project with a bunch of features, api endpoints and different types of page renderings (SSR,SSG, etc). It's really daunting to make sure you isolate frontend and backend code, as well as features.