reduxjs / redux

A JS library for predictable global state management
https://redux.js.org
MIT License
60.51k stars 15.26k forks source link

[Docs] Normalizing State Shape: Normalizr no longer maintained #4699

Open ridoy1234567 opened 1 month ago

ridoy1234567 commented 1 month ago

What docs page needs to be fixed?

Page: https://redux.js.org/usage/structuring-reducers/normalizing-state-shape

This page is referenced in the Redux Style Guide.

What is the problem?

At the end of the article, the library Normalizr is suggested for normalizing nested data into a normalized format.

Normalizr is no longer maintained as of March 19, 2022.

What should be changed to fix the problem?

The article should describe a more modern solution to normalizing nested data, such as Redux Toolkit's createEntityAdapter.

EskiMojo14 commented 1 month ago

While I agree that it would be good for that page to mention createEntityAdapter as an option, it's worth noting that Normalizr is both stable and has far more features than createEntityAdapter (for example, supporting relational data)