What is R-Factor?


R-Factor is an automated refactoring tool for JavaScript designed to help developers who work with React & Redux. It features automated transformations for very common code manipulations that React developers perform manually dozens of times every day. If you do not use Redux you are still going to get a lot of value from React refactorings.

If you value your time, you'll love it. We know it's awesome because we use it too. In fact, after we finished implementing proof of concept of the very first transformation, we kept scratching our heads thinking "why didn't we do this earlier?".

While our initial goal was to provide React & Redux refactorings only, some cool side effects appeared along the way. That is why now you can also enjoy features like Sort imports & Sort object attributes.

As I am writing this we have over 30 ideas for other features, which would take months to implement. And yes, some of them go beyond React & Redux. First, we want to see how much interest is this tool going to get.

R-Factor aims to
  • Not break your code
  • Keep your formatting (but remember: garbage in, garbage out)
  • Refactor reasonably sized files in reasonable time
  • Support & prefer the fanciest, sweetest syntax possible (think ES6+)
© 2018 - 2019 Kamil Mielnik & Yuriy Yakym. All rights reserved.