I have setup a reducer based context for my Ionic app that i am developing using ReactJS. My expectation was that useEffect will call the reducer and add the data to propert