You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❌ Switch, Modal (going to be split out, in Tamagui already)
❌ Touchable* views (prefer Pressable)
❌ normalize-css-color
❌ inline-style-prefixer
❌ create-react-class
A few bigger pieces that took a bit was renaming all the imports for esmodule compat, inlining ScrollView so you can remove create-react-class, and splitting out the internals into it's own package which allows libraries like Tamagui to then use various internals as necessary, saving quite a bit of bundle size.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is a fork that does a lot of things you probably don't want, but a lot of things you are planning as well:
https://github.com/tamagui/tamagui/tree/master/packages/react-native-web-lite
Copying from there:
sideEffects: false
+ tree shaking support changesAnimated
A few bigger pieces that took a bit was renaming all the imports for esmodule compat, inlining ScrollView so you can remove create-react-class, and splitting out the internals into it's own package which allows libraries like Tamagui to then use various internals as necessary, saving quite a bit of bundle size.
Feel free to adopt back any of this.
Beta Was this translation helpful? Give feedback.
All reactions