This PR offers a way to avoid nasty runtime errors when result objects/arrays have non-writable props when parsing using ParseJSONResultsPlugin.
The default strategy is 'in-place' (similar to how the plugin behaves in latest version).
In large objects/arrays, the new create strategy might significantly differ in memory consumption, as it fills new objects/arrays instead of mutating the existing ones.
Hey :wave:
This PR offers a way to avoid nasty runtime errors when result objects/arrays have non-writable props when parsing using
ParseJSONResultsPlugin
.The default strategy is
'in-place'
(similar to how the plugin behaves in latest version).In large objects/arrays, the new
create
strategy might significantly differ in memory consumption, as it fills new objects/arrays instead of mutating the existing ones.