Skip to content

Commit

Permalink
Fix docs formatting (#3403)
Browse files Browse the repository at this point in the history
* Fix formatting

* Moar formatting
  • Loading branch information
markerikson authored Apr 12, 2019
1 parent 885a2db commit 376ad3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/recipes/structuring-reducers/UpdatingNormalizedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,7 @@ By using the session interface you can now use relationship accessors to directl
const session = orm.session(store.getState().entities)
const comment = session.Comment.first() // Comment instance
const { post } = comment // Post instance
post.comments
.filter(c => c.text === 'This is a comment')
.count() // 1
post.comments.filter(c => c.text === 'This is a comment').count() // 1
```
Overall, Redux-ORM provides a very useful set of abstractions for defining relations between data types, creating the "tables" in our state, retrieving and denormalizing relational data, and applying immutable updates to relational data.

0 comments on commit 376ad3c

Please sign in to comment.