router icon indicating copy to clipboard operation
router copied to clipboard

Having both @react-navigation/* and expo-router leads to bloat

Open RohovDmytro opened this issue 1 year ago • 3 comments

Summary

Can we consider marking @react-navigation/* as peer dependencies?

The problem is expo-router does not export everything I need such as times or useTheme hook or theme provider, thus I need direct access to @react-navigation/*, but I end up with a bloated bundle.

Minimal reproducible example

image

RohovDmytro avatar Mar 01 '23 14:03 RohovDmytro