Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Loading from './Components/Styling/Loading'
import { asyncComponent } from '@jaredpalmer/after'
export default [
{
path: '/',
exact: true,
component: asyncComponent({
loader: () => import('./Pages/Home'),
Placeholder: () =>
})
},
{
path: '/speakers',
exact: true,
component: asyncComponent({
loader: () => import('./Pages/Speakers'),
Placeholder: () =>
})
},
{
path: '/speaker/:speaker',
exact: true,
component: asyncComponent({
loader: () => import('./Pages/Speaker'),
Placeholder: () =>
})
},
{
path: '/category/:category',
exact: true,
component: asyncComponent({