react.cordova
Advanced tools
Comparing version 2.2.8 to 2.3.0
{ | ||
"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(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243272
3934