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

react.cordova

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react.cordova - npm Package Compare versions

Comparing version 2.2.8 to 2.3.0

2

package.json
{
"name": "react.cordova",
"version": "2.2.8",
"version": "2.3.0",
"description": "Reco unifies React.js and Cordova into one CLI which bundles both platforms together and provides the developer with the ability to generate Cordova hybrid cross-platform applications built in React .",

@@ -5,0 +5,0 @@ "scripts": {

@@ -1,23 +0,26 @@

import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import 'cordova_script';
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import "cordova_script";
document.addEventListener('deviceready', () => {
document.addEventListener(
"deviceready",
() => {
ReactDOM.render(
<React.StrictMode>
<div>
<App cordovaWork={true} />
</div>,
document.getElementById('root')
<App cordovaWork={true} />
</div>
</React.StrictMode>,
document.getElementById("root")
);
}, false);
},
false
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();

@@ -1,23 +0,26 @@

import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import 'cordova_script';
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import "cordova_script";
document.addEventListener('deviceready', () => {
document.addEventListener(
"deviceready",
() => {
ReactDOM.render(
<React.StrictMode>
<div>
<App cordovaWork={true} />
</div>,
document.getElementById('root')
<App cordovaWork={true} />
</div>
</React.StrictMode>,
document.getElementById("root")
);
}, false);
},
false
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
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