In my React-Native application, import paths are like this.
import { ScreenContainer, SLButton, SLTextInput,} from '../../../../../components';import { KeyBoardTypes } from '../../../../../enums';import { SIGN_UP_FORM } from '../../../../constants/forms';
I have seen some applications, there the paths are more clear and elegant without '../../../'s. How can I achieve this in React-Native??
I saw in my solution that, in every folder there was a package.json file. I'm not sure if that is the proper way to do it.