Insert value as object on null
Methuselah96 opened this issue · 1 comments
Methuselah96 commented
From @piyaleemaiti on Fri, 08 May 2020 05:29:24 GMT
What happened
const original = { x: { y: null}}
setIn(original, ['x', 'y', 'z'], 456)
Here the old value was set to null, but I wanted to insert object value replace of null, how can I do that?
Copied from original issue: immutable-js#1771
Methuselah96 commented
Question answered on original repo.