Cleanup: use arrays instead of object deconstruction for multi-styles
Opened this issue · 1 comments
SyntaxBlitz commented
A StackOverflow post lied to me and told me that {...styles.one, ...styles.two}
was the "best" way to merge styles. Later I found out you can just pass in an array: [styles.one, styles.two]
which seems a lot better (this is my first react native app!!). We should clean up instances of the former.