Video není dostupné.
Omlouváme se.
How many apps can you build in one Turborepo?
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/...
Matt is the coolest
Oh, I see what you did with that cra->crap "typo". Nice touch!
This is game changing. Cool stuff 😮
Can you do microfrontends with Turborepo though? Like having multiple apps/packages but put them together into one?
I was wondering if it can leverage microfrontend or just for monolithic app
Just love it.
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?
Please make a dedicated video on turborepo + react-native/expo apps
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.
Really Informative
we need with docker please
Second this!!!
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.
Awesome. Love it
That is so cool!
Super nice!!! Could you share the final repo?
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.
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
Yeah, this is nice. Btw do you have any suggestion on deployment multiple apps in monorepo ?
same question
should they be separate vercel apps? if so - could they share cache?
Is the pnmp turbo run a pnpm trick? Npm for example does not have the direct access, or was turbo installed global?
If you pnpm i turbo -D (in root), then you can do pnpm turbo
how would this work with different versions of react? 16 and 18 for example.
From experience, maintaining versions throughout the web apps is a hustle. Problems with dependency chains.
can i have the repository of this demo
Wouldn't you normal have node_modules inside root folder instead of each app?
This depends on the package manager you use. In my case, I'm using pnpm, which doesn't hoist by default.
Bam bam bam 3:45
Now try to use different major versions of React amongst the projects….
That indeed spells crap 😂
That indeed spells crap 😂