betterer
betterer copied to clipboard
Request: more examples in the docs
Super cool projects, love it.
I think it would be good if the docs have more examples, what would be super cool is to have an example (or even test package?) which tests for getting rid of a library (so it would test the import statement).
I'm wondering if someone has already done this?
We're using native-base
and we want to get rid of it, we could ofc do a regex on import ... from 'native-base'
but that's not fully waterproof, because within existing files, we could still include components from native-base
and the test would still pass.
i.e. import { View } from 'native-base';
-> import { View, Text } from 'native-base';