Create reference cursor from a cursor.
Closed this issue · 2 comments
dashed commented
This:
let cursor = structure.cursor(keyPath);
let everlasting = structure.reference(cursor);
This is needed for this: #19
mikaelbr commented
This might require us to use internals of Immutable.js.
dashed commented
Yes it depends on internals: https://github.com/facebook/immutable-js/blob/7d69f95c5227c88c6a1be8271abc6686aeda94bf/contrib/cursor/index.js#L44
There's no official exposed API for cursor's keypath.