Reputation: 237
How to enable finally
method support if i'm using babel-polyfill
in my project build on React-Redux
stack
Upvotes: 6
Views: 7656
Reputation: 1062
I believe, the Babel-Polyfill shim uses core-js under the hood, which does support Promise.finally: https://github.com/zloirock/core-js#commonjs
Upvotes: 1
Reputation: 7488
Actually, now it has a proposal, and it's recently got into Stage-3, WebKit already supports it. Spec compliant shim/polyfill libraries are already available too. We can expect an update from the Promise polyfill library maintainers also.
Upvotes: 4