redux-book / code-samples

Code samples from The Complete Redux Book
94 stars 31 forks source link

Why no code for chapter 3? #6

Closed Muzietto closed 7 years ago

Muzietto commented 7 years ago

Normalising state is very important and complicated. The book code examples in chapter 3 fly over A LOT of details and here in GitHub there is not a single line of code!! Asking 32$ for a book without complete code samples is outrageous! Please publish ASAP a complete, working example of the code for chapter 3.

oldmill1 commented 7 years ago

+1, any updates? Maybe even flushing out the booksReducer a bit more is all that's needed.

borisd commented 7 years ago

Hi

There is a simple example of normalization in https://github.com/redux-book/code-samples/tree/master/3.state-management

For a comprehensive solution, we suggest using the https://github.com/paularmstrong/normalizr library. It has extensive documentation on how to normalize complex data structures.