title: Uncaught TypeError: Providing your root Epic to createEpicMiddleware(rootEpic)
body: <p>I am getting this error </p>
  
  <blockquote>
    <p>Uncaught TypeError: Providing your root Epic to
    <code>createEpicMiddleware(rootEpic)</code> is no longer supported, instead use
    <code>epicMiddleware.run(rootEpic)</code></p>
  </blockquote>
  
  <p>When simply using </p>
  
  <pre><code>import 'rxjs'
  import { createStore, combineReducers, applyMiddleware } from 'redux'
  import { reducer as formReducer } from 'redux-form'
  import thunk from 'redux-thunk'
  import promise from 'redux-promise-middleware'
  import { createEpicMiddleware, combineEpics } from 'redux-observable'
  
  import app from './app'
  
  // Bundling Epics
  const rootEpic = combineEpics(
  )
  
  // Creating Bundled Epic
  const epicMiddleware = createEpicMiddleware(rootEpic)
  
  // Define Middleware
  const middleware = [
    thunk,
    promise(),
    epicMiddleware
  ]
  
  // Define Reducers
  const reducers = combineReducers({
    form: formReducer
  })
  
  // Create Store
  export default createStore(reducers,window.__REDUX_DEVTOOLS_EXTENSION__ &amp;&amp; window.__REDUX_DEVTOOLS_EXTENSION__(), applyMiddleware(...middleware))
  </code></pre>
  
  <p>Kindly help to resolve this</p>