Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
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)
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
This package is in beta version! API will not change (as we are emulating the react-native ones) but lots of components or properties could be missing at the moment. We encourage you to help us by reporting those errors or PR implementation of the missing ones! :D
Thanks to the Facebook team for it's awesome React-Native framework!
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 16 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.