This repository has been archived by the owner on Dec 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrated latest react-hot-loader 3.0.0 beta 6 (not hot reloading)
- Loading branch information
1 parent
8014352
commit c675c42
Showing
3 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React, { Component } from 'react' | ||
import { Provider } from 'react-redux' | ||
import { browserHistory, Router } from 'react-router' | ||
|
||
// Store and Routes | ||
import { store } from 'utilities/store' | ||
|
||
export default class Root extends Component { | ||
render() { return ( | ||
<Provider store={store}> | ||
<Router history={browserHistory} {...this.props.renderProps} /> | ||
</Provider> | ||
)} | ||
} |