is there a way to preview compose views with IDEA?...
# compose-desktop
t
is there a way to preview compose views with IDEA? I am not targeting android, so android studio seems like overkill to get a preview.
t
AFAIK, there's no built-in solution for this. but here's how I preview my composable in Compose Desktop https://twitter.com/theapache64/status/1360893177532588033
t
TY. I'm trying to get the UI right and the time between builds is making me 'grumpy'.
😀 1
😆 2
a
You also have to build the project in order to get the preview refreshed. I haven’t tried compose desktop but as for Android actually deploying the app to the device (or emulator) is faster than waiting for the preview to refresh.
☝️ 2
t
ive moved my project, libs, and Idea onto a RAMdisk and its made a very significant improvement, but I'd like faster. 😛
o
Try to use IJ’s own build system, not Gradle. It’s order of magnitude faster for small incremental changes.
I mean, define project in Gradle like normal, import into IDE, but then build with IDEA
🤔 1