Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { makeRenderer$ as makeServerRenderer$ } from 'mwp-core/lib/renderers/server-render';
import makeRootReducer from 'mwp-store/lib/reducer';
const routes = require('./app/routes').default;
const reducer = makeRootReducer();
// the server-side `renderRequest$` Observable will take care of wrapping
// the react application with the full HTML response markup, including ``,
// `` and its contents, and the `
import React from 'react';
import Helmet from 'react-helmet';
import makeRootReducer from 'mwp-store/lib/reducer';
import { Forbidden, NotFound, Redirect } from 'mwp-router';
export const clientFilename = 'client.whatever.js';
export const reducer = makeRootReducer();
export const ROOT_INDEX_CONTENT = 'this is the life';
const ChildWrap = props =>
<div>
{props.children}
</div>;
const MockRootIndex = props =>
<div>
{ROOT_INDEX_CONTENT}
</div>;
export const FOO_INDEX_CONTENT = 'yo dawg i heard you like foo';
const MockFooIndex = props =>
<div>
{FOO_INDEX_CONTENT}
</div>;