Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SyntaxBlitz opened this issue May 28, 2020 · 1 comment
Labels
chore Cleanup, dependency upgrades, or other boring stuff.

Comments

@SyntaxBlitz
Copy link
Contributor

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.

@SyntaxBlitz SyntaxBlitz added the chore Cleanup, dependency upgrades, or other boring stuff. label May 28, 2020
@schonfeld
Copy link
Contributor

I think I got most of those done in #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Cleanup, dependency upgrades, or other boring stuff.
Projects
None yet
Development

No branches or pull requests

2 participants