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

提议以 qs 替 query-string #12547

Closed
yoyo837 opened this issue Sep 21, 2022 · 0 comments
Closed

提议以 qs 替 query-string #12547

yoyo837 opened this issue Sep 21, 2022 · 0 comments
Assignees
Labels
A-router Area - H5 路由相关 E-easy Helper Wanted - Easy enhancement New feature or request T-h5 Target - 编译到 H5

Comments

@yoyo837
Copy link
Contributor

yoyo837 commented Sep 21, 2022

这个特性解决了什么问题?

下游项目很容易遇到的场景就是多层的复杂对象与url参数的转换需求, 通常下游会使用qs这个库来处理, 不过 taro 依赖了一个类似功能的query-string , 对比qs, 它功能显得相对薄弱一些, 下游无法基于它实现需求. 为了避免冗余一个包, qs是可以完全替代query-string 的.

所以, 提议以qsquery-string.

qs库始于 TJ 大神.

这个 API 长什么样?

none

@taro-bot2 taro-bot2 bot added the enhancement New feature or request label Sep 21, 2022
@ZakaryCode ZakaryCode added A-router Area - H5 路由相关 E-easy Helper Wanted - Easy T-h5 Target - 编译到 H5 labels Sep 22, 2022
@yoyo837 yoyo837 closed this as completed Dec 1, 2022
@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-router Area - H5 路由相关 E-easy Helper Wanted - Easy enhancement New feature or request T-h5 Target - 编译到 H5
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants