I'm still not convinced by CMP previews, it's not ...
# compose
m
I'm still not convinced by CMP previews, it's not useful for now and it still missing a lot of things. I think the best option was to port android previews to multiplatform as they are, it's just a view in the IDE anyway, there's nothing platform specific needs to be implemented I guess. I'm not sure if you are considering this or not but I think that porting android previews to multiplatform is far more better and easier I guess than creating a new one and making it as good as the Android one.
p
Even Android when the project is huge, struggles to refresh. The best way I have found around is having a separate project with fake data and when done with the Composable design , then copy/paste to the main project. And a reality is that is not just Compose, the classic UI toolKit suffers from the same thing.
m
My point is at least we can avoid reinventing the wheel and maybe both teams can work on improving the same thing together Instead of solving already solved issues.
💯 3
3
p
Ah yeah 100 percent with that
r
In my mind CMP previews are not functional because they only work in Fleet which for some reason cannot open my project without errors. Otherwise I have no issues with Previews, in fact I quite like them as they allow me to comprehensively test the app and also develop the UI very fast. Just a shame they're not available in IntelliJ and AS.