Open kube opened 6 years ago
Nested set expressions are not transformed by the Babel Plugin:
set
set( state, _ => _.nested.collection, arr => arr.map(item => set(item, _ => _.nested.prop, x => x + 1) ) )
After compilation it results in:
set( state, ['nested', 'collection'], // TRANSFORMED arr => arr.map(item => set(item, _ => _.nested.prop, x => x + 1) // UNTOUCHED ) )
Nested
set
expressions are not transformed by the Babel Plugin:After compilation it results in: