question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not seem to work with Immutable.js

See original GitHub issue

Hi, I have Immutable.js map in the store that I am trying to listen to changes on:

as in:

let w = watch(appStore.getState, 'notify.currentAction', isEqual);

and yet I don’t get an event for when Map currentAction gets modified (if I removed currentAction all works per reducer only)

is that not supported?

regards

Sean

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
born2netcommented, Nov 14, 2016

I ended up creating my own version of the lib (with some added helper methods) see here: https://github.com/born2net/angular2-redux-util

0reactions
Danetagcommented, Jun 22, 2017

Actually, forget about my last comment. It works, but it’s really, really slow and use immutable.js in a bad way.

Inspired by the work on the library, we created redux-watch-immutable that just works for immutable object (and it’s crazy fast!)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Immutable.js
When data is passed from above rather than being subscribed to, and you're only interested in doing work when something has changed, you...
Read more >
Immutable.js is essentially unmaintained · Issue #1689
FB OSS consists primarily of facebook exporting code developed internally, and they do not appear to have put forwards any new maintainers.
Read more >
Immutable.js updateIn does not work with plain objects?
I am using Immutable 4.0.0-rc.9. Well, it works here in the console. You might want to consider trying to import like this import...
Read more >
You may not need Immutable.js
Conclusion. Surprisingly or not, you may not need Immutable. js to enforce immutability of your data structures. I use words „may not” instead...
Read more >
Reasons I Dislike Immutable.js
No crazy API. It has 4.7k stars in days of it's release. It seems like a lot of people agreed with me in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found