A

react-router/4/replace-nested-routes

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

Run this codemod to deprecate nested <Route /> components through the use of render prop of the parent <Route /> component.

Ready to contribute?

Build your own codemod and share it with the community.