DEV Community

Cover image for Your first Turborepo

Your first Turborepo

Siddharth Venkatesh on April 29, 2022

Introduction Monorepos are fantastic. They let you maintain all your projects in a single repository. I use one at my workplace and I se...
Collapse
 
jacksonkasi profile image
Jackson Kasi

hey thanks for sharing this article with us! can you please let me know, how to manage the state ( like redux ) across multiple workspaces?

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs

You can share utilities like those for managing procedures and functions, but sharing state isn't possible. In development, states exist in the same place, but in production, each app is independent and manages its own states, whether using Redux or another state management solution.

Collapse
 
jacksonkasi profile image
Jackson Kasi

Hey @thesohailjafri, thank you for your response. :)
I commented during my initial time as a developer, so I'm asked this question without fully understanding the TurboRepo concept.😅

Thread Thread
 
thesohailjafri profile image
Sohail SJ | TheZenLabs

Great. So how is turbo usage in your project, and what key advice can you share? Im setting up few new projects definitely can those advice

Thread Thread
 
jacksonkasi profile image
Jackson Kasi

We used Turbo in our company projects, but we faced many issues while working with a team using Turbo Repo. So, we decided to stop using it. :(

Thread Thread
 
thesohailjafri profile image
Sohail SJ | TheZenLabs

can you elaborate so that I can access whether we should continue or migrate to individual repos

Collapse
 
itayperry profile image
Itay

Could you please add an example using React-TypeScript template? 🙏

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs

Do you still need it?? Im planning on doing one. Love to see the support

Collapse
 
itayperry profile image
Itay

Oh no, it's fine :)
Thanks 😊

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs

@siddharthvenkatesh It would have been great if you had added few snippets of code in text like config to copy paste. Else good read