title: React new HOOKS api, useReducer with dynamic initialState
body: <p>In case we want to fetch data from remote server and then pass it as initial state to a reducer, how we can proceed ? I tried to call dispatch inside useEffect but it was rejected as per rule of calling hooks inside useEffect(...) is forbidden﻿,</p>
  
  <p>Any help ?</p>