jordangarcia / nuclear-js-react-addons

NuclearJS addons for working with React
MIT License
20 stars 12 forks source link

[Question] Advice for migrating from traditional Nuclear JS ReactMixin #20

Closed iansinnott closed 8 years ago

iansinnott commented 8 years ago

Hey, I was just wondering if anyone has yet had experience refactoring a large Nuclear JS codebase to use these react addons. Has Optimizely done such a migration? Has anyone written any codeshift scripts to make the process smoother?

I could just refactor everything by hand but that would be fairly time-intensive.

iansinnott commented 8 years ago

I never found a very efficient way to do this, although one could probably write a codemod to do it in a largely automated way. I eventually just refactored each component manually, which actually wasn't as time consuming as I expected.