content: import React from 'react';
  import { render } from 'react-dom';
  import getStore from './store/store';
  import { Provider } from 'react-redux';
  import { BrowserRouter, Route } from 'react-router-dom';
  import App from './App';
  import RssSeekerContainer from './components/RssSeeker';
  import RssViewer from './components/RssViewer';
  import FeedViewer from './components/FeedViewer';
  import Home from './components/Home';
  import Bookmarks from './components/Bookmarks';
  import './react-select.css';
  import '../node_modules/bootstrap/dist/css/bootstrap.css';
  import './index.css';
  import localforage from 'localforage';
  import options from './storage/config';
  
  const store = getStore();
  
  localforage.config(options(localforage));
  let bookmarks = [];
  localforage.iterate((value) => {
    bookmarks.push(value);
  }).then(() => {
    store.dispatch({type: 'SET_BOOKMARKS', bookmarks: bookmarks });
  });
  
  render(
      <Provider store={store}>
        <BrowserRouter>
          <App>
            <Route path="/" exact render={() => {
              return (
                <Home>
                  <RssSeekerContainer/>
                </Home>
              );
            }}/>
            <Route path="/rss/:id/:title" component={RssViewer}/>
            <Route path="/feed/:id/:title" component={FeedViewer}/>
            <Route path="/bookmarks" component={Bookmarks}/>
          </App>
        </BrowserRouter>
      </Provider>,
      document.getElementById('root')
  );
  
  
  