Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tamagui/static

Package Overview
Dependencies
Maintainers
1
Versions
1211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/static

- onPress extraction - bug with props after spread not applying, make them deopt: - <YStack {...baseStyle} cursor="default" /> wont be right rn - have seen bugs with <Spacer flex /> and <YStack fullscreen /> - make pressStyle override hoverStyle always

  • 1.0.0-alpha.20
  • npm
  • Socket score

Version published
Weekly downloads
25K
decreased by-44.4%
Maintainers
1
Weekly downloads
 
Created
Source
  • onPress extraction
  • bug with props after spread not applying, make them deopt:
    • <YStack {...baseStyle} cursor="default" /> wont be right rn
  • have seen bugs with and
  • make pressStyle override hoverStyle always
  • activeStyle may be desirable...
  • // harder than seems RN does some werid stuff with cover/etc
  • space
    • SmallButton good example case of constant
  • hoverStyle/pressStyle (spread + constant too - TagButton, DishView)
    • final step is hoverStyle={{ color: x, ...parent.hoverStyle, }}
  • 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
  • onPressIn/onPressOut etc can all be converted to inline functions still as divs (HomeAutocompleteBackground, SearchLocationButton, etc)
  • // TODO WHY SCALE NOT WORKING???
  • Link - can maybe fully extract, if we can just run the actual component and then return the results???
  • CSS variables for color!

FAQs

Package last updated on 29 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc