Component name collision pattern

How should a component be named if name collision occurs during refactoring.

Sometimes your component will have to be renamed in order to avoid naming collision. This can happen e.g. when you have a non-default export of a component and you want it to be connected to the redux store. A new export statement will be declared for the new connected component with the current name, and your current component will be renamed according to this setting. ${name} will be replaced with the name of your component before refactoring, so you can configure it to have a prefix, suffix or just be a concrete name. It's best if you see the example.


Name component-name-collision-pattern
Type String
Default value "${name}Component"


© 2018 - 2019 Kamil Mielnik & Yuriy Yakym. All rights reserved.