Skip to content

Conversation

haveyaseen
Copy link
Contributor

Hey guys, this is a requested update to the state management section describing Redux-ORM. It's actually been outdated since version 0.9 (we're at v0.13.2 now). We also moved the repository to a GitHub organization.

To prevent confusion, I simplified some payload properties and removed the part about "queued updates" which is an implementation detail regarding performance. The paragraph that I added in the end is supposed to make the benefits of managed relationships a bit more obvious.

@netlify
Copy link

netlify bot commented Apr 10, 2019

Deploy preview for redux-docs ready!

Built with commit b65721c

https://deploy-preview-3400--redux-docs.netlify.com

@timdorr
Copy link
Member

timdorr commented Apr 10, 2019

Cool, thanks!

@timdorr timdorr merged commit 02e61c7 into reduxjs:master Apr 10, 2019
@haveyaseen haveyaseen deleted the docs/update-redux-orm branch April 10, 2019 20:19
// Define a foreign key relation - one Post can have many Comments,
// at a field named "comments"
postId: fk({
to: 'Comment',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an error here that drove me nuts.
It should be 'Post' instead of 'Comment'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, my bad! Opened a PR with a fix.

haveyaseen added a commit to haveyaseen/redux that referenced this pull request Apr 23, 2019
Also explain options using comments

See reduxjs#3400 (review)
timdorr pushed a commit that referenced this pull request Apr 23, 2019
* Fix Redux-ORM related model name

Also explain options using comments

See #3400 (review)

* Remove superfluous comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants