- onPress extraction + media query extraction have most speed up - bug with props after spread not applying, make them deopt: - <VStack {...baseStyle} cursor="default" /> wont be right rn - have seen bugs with <Spacer flex /> and <VStack fullscreen /> -
npm install snackui-static- onPress extraction + media query extraction have most speed up
- bug with props after spread not applying, make them deopt:
-
- have seen bugs with
- make pressStyle override hoverStyle always
- activeStyle may be desirable...
- multi level const eval
- const x = 1, const y = x + 10, paddingTop={y} (current in RestaurantListItem)
-
- spacing
- SmallButton good example case of constant
- hoverStyle/pressStyle (spread + constant too - TagButton, DishView)
- final step is hoverStyle={{ color: x, ...parent.hoverStyle, }}
- extract media queries
- pass in config to be able to create static extracted easily within web
- OverlayLinkButton
- SmallCircleButton case spreads
- Circle, EmojiButton, LinearGradient, VoteButton
- LinkButton - getting this to just extract styles would be big
- just needs to tell compiler _never_ to go to just