CPSC-455-Summer-2022 / WixHub_Project_S22

CPSC 455 Project
5 stars 0 forks source link

[DO NOT MERGE] Clean up Redux #50

Closed ronin-cunningham closed 2 years ago

ronin-cunningham commented 2 years ago

@lzwsl @tillson27 Please check if this refactor is ok. I am removing unused reducers to simplify our redux store. The plan is to only keep id and user session in the store and keep everything else at component level for simplification.

Note: I changed the INITIAL_STATE.list = [] to INITIAL_STATE.user = {} since we should only be keeping one logged in user per session.

I moved the Services folder up a directory and kept some of those functions so it is easy to use in component-level.