Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import dotnetify from 'dotnetify';
import ReactDOM from 'react-dom';
import App from './App';
import SimpleList from './SimpleList';
import LiveChart from './LiveChart';
import CompositeView from './CompositeView';
dotnetify.debug = true;
// Set the components to global window to make it accessible to dotNetify routing.
Object.assign(window, { SimpleList, LiveChart, CompositeView });
ReactDOM.render(, document.getElementById('App'));
import React from 'react';
import ReactDOM from 'react-dom';
import dotnetify from 'dotnetify';
import App from './App';
import Dashboard from './dashboard/Dashboard';
import Form from './form/Form';
import 'dotnetify-elements/dotnetify-elements.css';
dotnetify.debug = true;
// Import all the routeable views into the global window variable.
Object.assign(window, { Form, Dashboard });
ReactDOM.render(, document.getElementById('App'));
import React from 'react';
import ReactDOM from 'react-dom';
import dotnetify from 'dotnetify';
import App from './app/views/App';
import './app/styles/app.css';
import './app/styles/prism.css';
import * as views from './app/views';
import 'dotnetify-elements/dotnetify-elements.css';
dotnetify.debug = true;
// Import all the routeable views into the global window variable.
Object.assign(window, { ...views });
ReactDOM.render(, document.getElementById('App'));
import dotnetify from 'dotnetify';
import App from './App';
import Dashboard from './dashboard/Dashboard';
import Form from './form/Form';
import createWebComponent from './utils/web-component';
dotnetify.debug = true;
// Import all the routeable views into the global window variable.
Object.assign(window, { Form, Dashboard });
createWebComponent(App, 'd-app1');
import React from 'react';
import ReactDOM from 'react-dom';
import App from './routes';
import './app/styles/app.css';
import './app/styles/prism.css';
import dotnetify from 'dotnetify';
dotnetify.debug = true;
ReactDOM.render(, document.getElementById('App'));