Phaetec / pogo-cruncher

UNMAINTAINED, Niantic now requires keys for their API
MIT License
47 stars 17 forks source link

Table sorting reversable fix #24 #74

Closed MrEbbinghaus closed 8 years ago

MrEbbinghaus commented 8 years ago

Everytime you sort the table the sorting direction will be flipped.

n2o commented 8 years ago

That's a good idea and I thank you for your code, but this violates the philosophy of the single source of truth. All app-related stuff should be stored inside cruncher.utils.lib/app-state or inside the component itself. Reading and mutating is then managed via the reconciler. Another atom is not neccessary.

n2o commented 8 years ago

I would be happy if you try it again (with my help if you like) and add another pull request!