react-navigation / rfcs

RFCs for changes to React Navigation
Other
88 stars 16 forks source link

Deep merge navigation options #74

Closed sachinB94 closed 4 years ago

satya164 commented 4 years ago

Deep merging is problematic. It's tricky even with styles. Styles can be an array as well in addition to plain objects. Do we merge arrays as well?

React elements are objects as well. Do we also merge React elements? There's no way to know which objects are safe to deep merge and which are not. So I highly doubt that this is something we wan to do.