language-transfer / lt-app

React Native application for Language Transfer
https://www.languagetransfer.org/
Other
291 stars 26 forks source link

Cleanup: use arrays instead of object deconstruction for multi-styles #19

Open SyntaxBlitz opened 4 years ago

SyntaxBlitz commented 4 years ago

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.

schonfeld commented 4 years ago

I think I got most of those done in #27