Reputation: 359
I'm currently working on quite a big react.js system/project with a lot of reused components and there are no unit tests or documentation whatsoever. My worries starts when I change (fix) one of these components for one specific use case and in 3 other places which I don't know at the time component broke down.
It would be amazing to have some tool which tells me, in which all places is some specific component use, so I can test it in all cases.
Do you have any recommendations?
Upvotes: 8
Views: 6927
Reputation: 1
In visual studio code press shift+f12 after selecting class, function or method to see usage in a folder if you are using VsCode.
Upvotes: 0
Reputation: 81
Use shift+f12 after selecting class, function or method to see usage in a folder if you are using VsCode.
Upvotes: 8