JustinWei2010 / EventETAApp

0 stars 0 forks source link

Refactor FireBase reducer logic, at end of 0.5 #12

Open JustinWei2010 opened 7 years ago

JustinWei2010 commented 7 years ago

I don't think we are combining it correctly with reducer logic. The watch for update in firebase should not be tied to eventETAList component (thats the job of a reducer). The callback for firebase api should just be be default redux action callbacks (same for all calls of api). If it doesn't work for other scenarios we didn't design reducers/action creators correctly. Should also try to find other examples of firebase and redux/sagas to see if theres better ways of implementation.