r/reactnative • • Jan 03 '20

An app I built using react native

207 Upvotes

64 comments sorted by

View all comments

0

u/MrGurns Jan 03 '20

I hope you used the decorator pattern.

1

u/_rustafarian Jan 03 '20

Not sure what you're talking about really

1

u/MrGurns Jan 03 '20

1

u/_rustafarian Jan 03 '20

Thanks for the links. It's funny that these things have names. So basically the decorater pattern is a way to extend objects without modifying the original. Well if you excersise immutability and functional programming you get that behavior automatically, and luckily that's what I'm doing.