bkkhack / hacknights

A meta-repository for finding hack night birds-of-a-feather and tracking what we learn.
https://waffle.io/bkkhack/hacknights
15 stars 4 forks source link

React Redux Firebase CRUD #146

Closed JesseSoldat closed 8 years ago

JesseSoldat commented 8 years ago

making a CRUD app with React Redux and Firebase. Looking for someone with Redux experience.

aljones15 commented 8 years ago

what syntax are you using? I've built 3 redux apps now and am considering using it with my react native demo app. Are you using the official bindings from here: https://github.com/reactjs/react-redux? it's quite easy if so make Provider your top level jsx element then just implement the interfaces for mapStateToProps and the other one and redux will automatically update the props for the jsx element whenever they change. Also state.whatever = new data then Object.assign({}, state) is the easy way to cause an update to trigger in the reducer.

aljones15 commented 8 years ago