React Router/4/Index Route
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
React-router
migration
Replace IndexRoute
with Route
having exact
prop set to true
.
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community