Silly style question: When naming Preview composab...
# compose
t
Silly style question: When naming Preview composables is there a preference for 1. FooComposablePreview 2. PreviewFooComposable 3. something else?
1️⃣ 1
a
Just personally I prefer to start with
Preview
because then I won’t get them in auto-complete
c
won’t get them in auto-complete
Setting them to private can also help with that
s
Yeah I noticed recently that this is possible! I swear setting them as private was a problem back in the day, and I am not crazy right? 😅
a
Yeah, that's when I started naming them with Preview first because that's how I remember it as well, but then I just continued with the naming scheme when you I realized they could be private.