Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const renderApp = _routes =>
renderMethod(
{renderRoutes(_routes)}
,
rootEl
);return (
<header>
<main>
{this.state.hasError ? (
) : (
renderRoutes(this.props.route.routes)
)}
</main>
<footer>
);
}
}</footer></header><header>
{renderRoutes(route.routes)}
<footer>
);
}
}</footer></header>const renderApp = _routes =>
hydrate(
{renderRoutes(_routes)}
,
rootEl
);render() {
const { route, history, lightboxConfig } = this.props;
return(
<section>
<header>
{ renderRoutes(route.routes) }
<footer>
</footer></header></section>
);
}
}function Root({ store, history }) {
return (
{renderRoutes(routes)}
);
}