Closed neftaly closed 7 years ago
It looks like https://github.com/redbadger/immutable-cursor can be a good substitute for the contrib implementation. Just need to find what the differences in API are. Hopefully, tests will catch any breaking change from our part, but this is never the less a breaking change of Immstruct.
If you want to send a PR with immutable-cursor
that would be great!
I tried updating immstruct to use immutable-cursor before making this issue, but there were a few incompatibilities. I have started making some PRs to get things going.
Great stuff!
Awesome that you guys are looking at potentially using immutable-cursor
👍
I tried updating immstruct to use immutable-cursor before making this issue, but there were a few incompatibilities
What type of incompatibilities were you experiencing? The only real difference in interface between contrib/cursor
and immutable-cursor
from what I can remember, is described in the documentation. I'd be more than happy to help where I can with the preliminary integration.
Just paths, I think - https://github.com/redbadger/immutable-cursor/pull/15
Immstruct passes all tests with immutable-cursor + the PR above :)
Good job!
immutable-js/contrib/cursor has been deprecated.
Suggest forking it, or replacing contrib/cursor with something from userland.