react-native-web
react-native-web copied to clipboard
Cross-platform React UI packages
- Metro has a [single string value](https://github.com/facebook/metro/blob/6e716997fa22b65b0c78931fc6eb648fb9b2f5a1/packages/metro-config/src/defaults/index.js#L94) that it uses for registering assets, and this value isn't multi-platform. - When an asset is found by Metro, this value is used...
I'm adding React Server Components support to Expo Router, and need basic support added to React Native Web. This PR contains a cleaned up version of the patches I've been...
Close #2678 Fix #2672
Fixes https://github.com/necolas/react-native-web/issues/2673 Converts `AppState.isAvailable` to a boolean. Currently it's just `document[VISIBILITY_STATE_PROPERTY]`, this makes sure it's a bool by adding `!!`.
### Is there an existing issue for this? - [X] I have searched the existing issues ### Describe the issue `AppState.isAvailable` should just be a boolean, as documented here: https://necolas.github.io/react-native-web/docs/app-state/#static-properties...
### Is there an existing request? - [X] I have searched for this request ### Describe the feature request Would you be open to add [React `"use client"`](https://react.dev/reference/rsc/use-client) directive to...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Describe the issue When using react-native-web with vite in SSR, it simply does...
Check if the input is still focused before selecting text Fix #2704
This PR is a follow-up to [this one](https://github.com/necolas/react-native-web/pull/2702). [As we decided to add RNW types to DefinitelyTyped repo](https://github.com/necolas/react-native-web/issues/1684#issuecomment-2274296791), we are now just adding instructions to the documentation explaining how to...
Fix #2708