Closed renchap closed 6 years ago
Hi, Thanks for suggestion, I completely agree, let's make it a new feature request!
Requirements:
@loadbalance-sudachi-kun funded this issue with $256. Visit this issue on Issuehunt
@piotrwitek has started working. Visit this issue on Issuehunt
@piotrwitek has submitted output. Visit this issue on Issuehunt
@piotrwitek has rewarded. Visit this issue on Issuehunt
Old browsers (IE 11, Safari on iOS 8) do not support
Object.assign
but it is used intypesafe-actions
. Many other libraries are using a polyfill (short custom implementation or external polyfill bundled using Babel). As this package targetses5
(intsconfig.json
),Object.assign
is not transpiled and generate errors in those old browsers.I am fine with this package targeting
es5
, but it should be noted explicitely in the README, and a list of needed polyfills should be provided. For example, here is how React does it: https://reactjs.org/docs/javascript-environment-requirements.htmlI tested my app with
Object.assign
,Map
,Set
andSymbol
polyfills (the 3 latest needed for React) and it worked fine on iOS 8 & IE 11, so I guessObject.assign
is the only one needed (or maybe Symbol too?) fortypesafe-actions
.