uclaradio.com
uclaradio.com copied to clipboard
Update React to 16
Types of changes
- [ ] Bugfix (change which fixes an issue)
- [ ] New feature (change which adds functionality)
- [x] Refactor (change which changes the codebase without affecting its external behavior)
- [ ] Non-breaking change (fix or feature that would causes existing functionality to work as expected)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Purpose
Modern React, yay!
Approach
I used a codemod: JSCodeShift with react-codemod.
Learning
This was my first codemod! This post gives a pretty good intro to how they work.