Video není dostupné.
Omlouváme se.

How many apps can you build in one Turborepo?

Sdílet
Vložit
  • čas přidán 16. 08. 2024
  • Watch Matt Pocock (@mattpocockuk) try to stuff as many frontend frameworks as possible into a single monorepo. Next.js, Vite, Create React App, Remix, SvelteKit - the gang’s all here! Go full Turbo: vercel.fyi/try...
    0:00 Intro
    0:14 Next.js
    1:34 Create React app
    3:02 Vite
    3:30 SO MANY APPS
    4:14 Filtering
    For more on Turborepo:
    ◆ Building apps: turborepo.org/...
    ◆ Configuring caching: turborepo.org/...
    ◆ Running tasks: turborepo.org/...

Komentáře • 32

  • @BhargavaMan
    @BhargavaMan Před rokem +21

    Matt is the coolest

  • @jediikk
    @jediikk Před rokem +4

    Oh, I see what you did with that cra->crap "typo". Nice touch!

  • @EdwardOrnelas
    @EdwardOrnelas Před rokem

    This is game changing. Cool stuff 😮

  • @_the_one_1
    @_the_one_1 Před rokem +4

    Can you do microfrontends with Turborepo though? Like having multiple apps/packages but put them together into one?

    • @yassinebouchoucha
      @yassinebouchoucha Před rokem

      I was wondering if it can leverage microfrontend or just for monolithic app

  • @baileyzhang9447
    @baileyzhang9447 Před rokem +1

    Just love it.

  • @PartneredAdmin
    @PartneredAdmin Před 16 dny

    Hi how to add a new app using a command e.g. npx create-payload-app@latest as an app to a turborepo? I can 't find this anywhere clearly?

  • @iammahabub
    @iammahabub Před rokem

    Please make a dedicated video on turborepo + react-native/expo apps

  • @FunctionGermany
    @FunctionGermany Před rokem

    i don't see the advantage compared to npm-run-parallel yet... and what's the practical application of the caching? does turborepo actually accelerate anything here? the initial building is all done through the regular toolchains like webpack, babel and what not.

  • @ReflexWalaXD
    @ReflexWalaXD Před rokem

    Really Informative

  • @AllahomAnsorGaza
    @AllahomAnsorGaza Před rokem +4

    we need with docker please

  • @meganfrankosky351
    @meganfrankosky351 Před rokem +1

    this is really helpful! thanks for creating, any chance you could give some advice on how to add a app that links to all of those apps in the repo? Like an app link aggregator / storefront.

  • @logeshkumarrajkumar861

    Awesome. Love it

  • @Hurtwolf
    @Hurtwolf Před rokem

    That is so cool!

  • @filipecrosk
    @filipecrosk Před rokem

    Super nice!!! Could you share the final repo?

  • @biku4756
    @biku4756 Před rokem

    Hey, can you refer me to any doc that shows the process of adding the apps like the next app, CRA. I mean do you run npx create-react-app app_name Inside the apps folder? Sorry for noob questions.

    • @SpaghettiRealm
      @SpaghettiRealm Před rokem

      Yes exactly, a parent directory where you run npx create-react-app cra and then you have react application in a sub-directory called cra, the same for other frameworks

  • @quyetnguyen9161
    @quyetnguyen9161 Před rokem

    Yeah, this is nice. Btw do you have any suggestion on deployment multiple apps in monorepo ?

    • @nikitastriuk
      @nikitastriuk Před rokem

      same question
      should they be separate vercel apps? if so - could they share cache?

  • @JohnPywtorak
    @JohnPywtorak Před rokem

    Is the pnmp turbo run a pnpm trick? Npm for example does not have the direct access, or was turbo installed global?

    • @alexbechmann594
      @alexbechmann594 Před rokem +1

      If you pnpm i turbo -D (in root), then you can do pnpm turbo

  • @oz4549
    @oz4549 Před rokem

    how would this work with different versions of react? 16 and 18 for example.

    • @namdgdhfjdj
      @namdgdhfjdj Před 9 měsíci

      From experience, maintaining versions throughout the web apps is a hustle. Problems with dependency chains.

  • @tanjinhai333
    @tanjinhai333 Před rokem

    can i have the repository of this demo

  • @ibrahimdelice9422
    @ibrahimdelice9422 Před rokem

    Wouldn't you normal have node_modules inside root folder instead of each app?

    • @mattpocockuk
      @mattpocockuk Před rokem

      This depends on the package manager you use. In my case, I'm using pnpm, which doesn't hoist by default.

  • @mfsbo
    @mfsbo Před rokem

    Bam bam bam 3:45

  • @MattChinander
    @MattChinander Před rokem

    Now try to use different major versions of React amongst the projects….

  • @retrospct
    @retrospct Před rokem

    That indeed spells crap 😂

  • @retrospct
    @retrospct Před rokem

    That indeed spells crap 😂