Babel plugin for transforming this const [a, b, {c}] = something
to this const {0: a, 1: b, 2: {c}} = something
.
developit / babel-plugin-optimize-hook-destructuring Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sanfilippopablo/babel-plugin-optimize-hook-destructuring
Babel plugin for transforming this `const [a, b] = something` to this `const {1: a, 2: b} = something`.
License: GNU General Public License v3.0