Use Array.prototype.with in react-native project

55 views Asked by At

I'd like to use Ecmascript 2023 array methods like Array.prototype.with in a react-native project. Are these supported at all, and if so, how can I enable the transformation of those? I am on the latest [email protected] [email protected] and node@21 (which both ts and node should support it). I guess it is a babel or metro issue, did any of you find a way to use this?

0

There are 0 answers