dev-toolkit
Version:
Universal Development Toolkit for React Veterans
13 lines (10 loc) • 426 B
JavaScript
// This is the main component that both the client & the server touch first.
//
// It's likely that this component will stay mostly empty since it sits at the root.
// It might contain your chosen routing solution or redux-provider.
import React from 'react';
import App from './views/App';
const displayName = 'RootComponent';
const component = () => <App />;
component.displayName = displayName;
export default component;