...

/

Intro to Redux-ORM

Intro to Redux-ORM

We'll cover the following...

We now have the initial app structure and UI layout set up properly, and we can start thinking about how to build the rest of the application. However, before we begin building, we need to take a detour and introduce a tool called Redux-ORM, which we’ll be using heavily throughout the rest of our development.

Redux-ORM helps solve a number of use cases that are common to many Redux applications, particularly related to managing normalized relational data in your store. I’ve used it heavily in my own application, and have come up with some useful techniques and approaches for using it. Hopefully you’ll find them useful in your own application as well.

Why Use Redux-ORM?

Client-side applications frequently need to deal with data that is nested or relational in nature. The standard advice for a Redux application is to store this data in a “normalized” form. For a Redux app, that means organizing part of your store to look like a set of database tables. Each type of item that you want to store gets an object that is used as a lookup table by mapping item IDs to item entries. Since objects don’t have a real sense of order, arrays of item IDs are stored to indicate ordering.

Note: For further information on ...