Drawbotics / entman

A simple library to manage normalizr entities in a Redux store
MIT License
25 stars 2 forks source link

How is this different from normalizr? #8

Open everdimension opened 7 years ago

everdimension commented 7 years ago

I'm trying to find use cases for this library and at the moment it seems to do the same thing as normalizr.

Well, I'd say entman is "normalizr + helpers".

Am I wrong, did I misunderstand something?

larsbs commented 7 years ago

Well, that would be a very basic but accurate simplification. Basically, this library takes care of managing your normalizr entities and free you from doing so. But not only that, using the helpers you also get denormalization when retrieving the entities from the store, so you don't have to perform this step also allowing the attachment of methods to compute properties for the entity directly in the schema.

Finally, entman also takes care of deleting, updating and adding the entities to the store also always keeping every relation in sync so you save a lot of reducer boilerplate.