Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
react-native-for-web
Advanced tools
A set of classes and react components to make work your react-native app in a browser. (with some limitations obviously)
A set of classes and react components to make work your react-native app in a browser. (with some limitations obviously)
This package is in pre-pre-pre-pre-pre-pre-pre-pre-pre-beta version! API will not change (as we are emulating the react-native ones ahah) but lots of components or properties could be missing. We encourage you to help us by reporting those or PR implementation of them! :D
Since it is all plain javascript, any native binary module won't be supported. By the way we are planning to provide an extra folder that will contains polyfills and workaround for the exposed api of some of these modules.
NOTE: The main UIExplorer app has been changed since the official UIExplorer app includes native binary components and non supported components at the moment.
npm install react-native-for-web
{
// other webpack config
resolve: {
alias: {
"react-native": "react-native-for-web"
}
}
// setup the macro to resolve require("image!...")
externals: [
require("react-native-for-web/src/macro/image")
],
}
Move into the package folder and run in your terminal:
npm run build
StyleSheet
AppRegistry
View
Text
Image
ScrollView
TextInput
TouchableHighlight
TouchableOpacity
TouchableWithoutFeedback
FAQs
A set of classes and react components to make work your react-native app in a browser. (with some limitations obviously)
The npm package react-native-for-web receives a total of 3 weekly downloads. As such, react-native-for-web popularity was classified as not popular.
We found that react-native-for-web demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.