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 { Switch, Route, Link } from 'react-router-dom';
import dynamic from 'kyt-runtime/dynamic';
import styles from './styles.scss';
export const Home = dynamic(() => import(/* webpackChunkName: "home" */ '../Home'));
export const Tools = dynamic(() => import(/* webpackChunkName: "tools" */ '../Tools'));
function App() {
return (
<div>
<i>
<ul>
<li>
Home
</li>
<li>
Tools
</li></ul></i></div>
import React from 'react';
import { Switch, Route, Link } from 'react-router-dom';
import dynamic from 'kyt-runtime/dynamic';
import styles from './styles.scss';
const Home = dynamic(() => import(/* webpackChunkName: "home" */ '../Home'));
const Tools = dynamic(() => import(/* webpackChunkName: "tools" */ '../Tools'));
function App() {
return (
<div>
<i>
<ul>
<li>
Home
</li>
<li>
Tools
</li></ul></i></div>
import React from 'react';
import { Switch, Route, Link } from 'react-router-dom';
import dynamic from 'kyt-runtime/dynamic';
import styles from './styles.scss';
const Home = dynamic(() => import(/* webpackChunkName: "home" */ '../Home'));
const Tools = dynamic(() => import(/* webpackChunkName: "tools" */ '../Tools'));
function App() {
return (
<div>
<i>
<ul>
<li>
Home
</li>
<li>
Tools
</li></ul></i></div>
import React from 'react';
import { Switch, Route, Link } from 'react-router-dom';
import dynamic from 'kyt-runtime/dynamic';
import styles from './styles.scss';
export const Home = dynamic(() => import(/* webpackChunkName: "home" */ '../Home'));
export const Tools = dynamic(() => import(/* webpackChunkName: "tools" */ '../Tools'));
function App() {
return (
<div>
<i>
<ul>
<li>
Home
</li>
<li>
Tools
</li></ul></i></div>