Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

迁移到Taro #2

Open
12 tasks done
situ2001 opened this issue Aug 2, 2022 · 0 comments
Open
12 tasks done

迁移到Taro #2

situ2001 opened this issue Aug 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@situ2001
Copy link
Member

situ2001 commented Aug 2, 2022

Background

考虑到小程序的可拓展性以及可持续发展性,现在打算把小程序从原生转到Taro

再加上前期小程序的编写,倾向于无脑堆砌,目标是能工作就行。

虽然出成品的速度高到发指(只用了考试周就几乎做出来了),但是代码充斥着大量的问题

  1. 纯JS
  2. 无复用
  3. 无组件化
  4. 随处可见的魔术数字和字符串
  5. 匆忙学习原生开发后写出的奇怪代码
  6. 目录结构些许混乱

因此,小组经过讨论后,决定重写。

由于云函数已经糊出来了,这里决定直接复制过来苟着使用。因此这里的活就相当于重做前端部分了。

目标:将小程序前端重新使用React编写,并注意相关的规范(TODO)

Tasks

这里我将重写任务粗略分成如下,大体上是对应着小程序的几个功能。

队员领取重写的任务的时候,记得单开一个issue,描述一下大致工作思路,然后self assign一下。

@situ2001 situ2001 added enhancement New feature or request and removed enhancement New feature or request labels Aug 2, 2022
@situ2001 situ2001 pinned this issue Aug 2, 2022
@situ2001 situ2001 mentioned this issue Aug 4, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant