callstack / callstack/react-native-paper

Use import aliases

未关闭
#4,861 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

**Is your feature request related to a problem? Please describe.**
Using too much `../../` in import statements is boring.

**Describe the solution you'd like**
Implement import alias `@/` instead of `../../` for better DX, maintaining and stability.

贡献指南

打开贡献指南

调研方向

未指定文件、测试或入口点。首先定位仓库的 TypeScript 和 bundler 配置,并盘点使用 ../../ 的相对导入;确定 @/ 别名如何在 React Native 的构建和开发设置中保持一致地工作。完成的标准是别名已得到一致配置,且现有导入可以使用它而不会破坏构建或平台行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
build-system, developer-experience
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。