UNPKG

catalyst-frontend

Version:

A configurable frontend build pipeline that caters for everything from simple SASS compilation only, right through to ES2015 plus React.

16 lines (12 loc) 483 B
import { hot } from 'react-hot-loader/root'; import React from 'react'; // if you are integrating redux this is a good place to wrap your app in <Provider store={store}> // if you are using react-router this is a good place to set up your router // this setup needs to be done in a separate file from index.jsx to enable hot reloads const App = () => ( <p> Hello world! {/* replace me with your routes/layouts/top level components */} </p> ); export default hot(App);