Closed ssneilss closed 7 years ago
Sorry, I don't quite get what's different than ours. Apart from the middleware, it looks very similar to what we have now. Are you saying that we should use one persistent Redux store across pages?
yeah we combined all the reducers into one big reducer
it's also useful for us because we have routing on client side (without reload all the data in store will be persistent when user's location goes back and forth)
just an idea! you can think about it and use your own!
Yeah I'm working on react-router right now.
Not sure if I'd want to share a store between the question console and the game host, however... as there won't be much overlap
@jshuaf yeah we should consider that too
Putting this on hold for now.
Just some suggestions about the redux part. This is what our architecture looks like
in case for example some information in "console" should also be used in "game"
Its our code:
store.js
reducers/index.js
reducers/general.reducer.js