title: Cannot convert undefined or null to object redux
body: <p>I'm using Redux to make a simple store and unfortunately it's throwing this error: </p>
  
  <pre><code> Cannot convert undefined or null to object
  </code></pre>
  
  <p>The browser points to the line of importing Redux </p>
  
  <pre><code>import * as redux from "redux"
  </code></pre>
  
  <p>I've also tried to import it this way but it gave the same error 
  import { createStore } from "redux"</p>
  
  <p>this the code : </p>
  
  <pre><code>import * as redux from "redux"
  
  let reducer = (state ={}, action) =&gt;{
      switch(action.type) {
          case "ADD_POLL":
              return {
                  polls: [
                      ...state.polls,
                      action.poll
                  ]
              }
          default:
              return state
      }
  }
  
  let store = redux.createStore(reducer)
  
  store.subscribe(()=&gt;{
      let currentState = store.getState()
      console.log(currentState)
  })
  
  store.dispatch({
      type: "ADD_POLL",
      poll: {
          id: 1,
          title: "What's  your fav Color",
          votes: 230
      }
  })
  </code></pre>