I'm Kent C. Dodds. I help people make the world better through quality software. Ask me anything!View other answers to this thread
Learn Something New Everyday,
Connect With The Best Developers!
why would you choose to write a codemod in babel over something like jscodeshift? Do you think babel has a better api?
Exactly. I've tried using jscodeshift several times and always got lost. The babel API (the visitor pattern) is just so much simpler for me to work with, so that's what I go with :)