https://kotlinlang.org logo
#compose
Title
# compose
l

Laura Kelly

01/28/2022, 6:51 PM
I'm using Compose in two repos -- one that is a small design system library and one very large monorepo that is organized into smaller modules. We've noticed that Compose previews are very slow in the monorepo. Has anyone dealt with this? Any tips for making previews faster in a large repo or know what specifically about a large repo causes this? We're currently using Bumblebee.
m

marios proto

01/28/2022, 10:35 PM
In a big project I am working on, and as a general rule, I would suggest to not use Previews, other than your design system library. It can’t be fast, and it is just so slow! and it is actually faster to run the app itself.
there is a nice library called Showkase from airbnb that can be used as another alternative https://github.com/airbnb/Showkase
l

Laura Kelly

01/28/2022, 10:48 PM
Yeah we have a catalog of our components that is similar to what Showkase generates ^
It's more when our product developers are working on their screens, we need a solution for that (we have demo apps but they still take time to compile)
v

vgonda

02/02/2022, 10:10 PM
Lol could this be contributing?