Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Goal of this project? #1

Open
markerikson opened this issue Apr 28, 2017 · 2 comments
Open

Goal of this project? #1

markerikson opened this issue Apr 28, 2017 · 2 comments

Comments

@markerikson
Copy link

Hi. Just ran across this while searching Github for Redux-related repos.

I see the tagline is "A redux compatible data store with the power of indexing! ". I'm curious - could you expand on what the intent is for this?

@corps
Copy link
Owner

corps commented May 24, 2017

Hi @markerikson,

Apologies for a late reply. I only recently had enough time to come back and document a bit about the project.

The basic idea is this: I want to be able to keep data sorted in redux, like a database index. I don't want to resort to calling .sort() on every modification, and I want my state to be primitives only (not immutable library that imposes usage of special object types).

redux-indexers basically just gives you a set of functions that looks like a database (add, update, remove) and produces new state objects that can be queried, in arbitrarily definable orderings, relatively efficiently.

Does that make sense?

@Oleg2tor
Copy link

Oleg2tor commented Dec 25, 2017

IMHO it does make sense. Just one little detail - It would be nice to use dynamic sort params instead of manual creating indexers.

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

No branches or pull requests

3 participants