Replaced ES6 instance methods with static one#76
Replaced ES6 instance methods with static one#76soulman-is-good wants to merge 2 commits intoalexkuz:masterfrom
Conversation
|
Thank you! But I'd just use a polyfill actually import 'core-js/fn/array/find'; |
|
importing this will pollute global scope by modifying Array.prototype directly. But since you are using |
|
I think the best solution here would be not using |
|
( |
|
It would be great to get the sortObjectKeys change merged in, at least. The component breaks when sortObjectTrees is simply set to true. |
|
Hi, can this PR be merged/released? |

What is done in this PR
Array.prototype.findwithArray.findasbabel-plugin-transform-runtimedoes not polyfill them in such a way (see why and also see readme from core-js, without global scope pollution).sortObjectKeyshandling according to MDNCurrently
react-json-treedoesn't work on IE and Edge 11, see MDN@alexkuz please consider this changes.