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.
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.