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

react-native-web-lite

Package Overview
Dependencies
Maintainers
1
Versions
919
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-web-lite

React Native for Web

  • 1.0.1-beta.145
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Experiment!

Use at your own risk.

Slimming down react-native-web, this does the following:

  • Flow => Typescript
  • Full ESModule support
  • sideEffects: false for tree shaking
  • merges concurrent mode fixes
  • Removes:
    • ❌ VirtualList, FlatList, SectionList
    • ❌ Switch, Modal (going to be split out, in Tamagui already)
    • ❌ Touchable* views (going to be deprecated, prefer Pressable)
    • ❌ normalize-css-color
    • ❌ inline-style-prefixer
    • ❌ create-react-class

@tamagui/next-plugin and @tamagui/vite-plugin have an option useReactNativeWebLite to help automatically setting this up.

With webpack:

Alias the following

  • react-native-web$ => react-native-web-lite
  • @tamagui/rnw => @tamagui/rnw-lite
  • react-native-svg => @tamagui/react-native-svg

Keywords

FAQs

Package last updated on 20 Aug 2022

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