Want Absolute Imports in React Native? Just Add a Little JSON
If you’ve spent any time working with React Native, you’ve probably run into a peculiar quirk where you’re seemingly forced to use relative imports in all of your source files. Things start to look a bit like this: import {Thing} from "../../../../core/thing"; import {Foo} from "../../foo"; It all quickly becomes unwieldy because it requires you […]