hooks icon indicating copy to clipboard operation
hooks copied to clipboard

perf: use rspack build

Open meet-student opened this issue 4 months ago • 11 comments

[中文版模板 / Chinese template]

🤔 This is a ...

  • [ ] New feature
  • [ ] Bug fix
  • [ ] Site / documentation update
  • [ ] Demo update
  • [ ] TypeScript definition update
  • [ ] Bundle size optimization
  • [x] Performance optimization
  • [ ] Enhancement feature
  • [ ] Internationalization
  • [ ] Refactoring
  • [ ] Code style optimization
  • [ ] Test Case
  • [ ] Branch merge
  • [ ] Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English perf: use rspack build
🇨🇳 Chinese perf: use rspack build

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • [ ] Doc is updated/provided or not needed
  • [ ] Demo is updated/provided or not needed
  • [ ] TypeScript definition is updated/provided or not needed
  • [ ] Changelog is provided or not needed

meet-student avatar Aug 14 '25 05:08 meet-student

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Aug 14 '25 05:08 CLAassistant

npm i https://pkg.pr.new/ahooks@2824
npm i https://pkg.pr.new/@ahooksjs/use-url-state@2824

commit: 47ad0a1

pkg-pr-new[bot] avatar Aug 14 '25 05:08 pkg-pr-new[bot]

emm,产物是否有风险感觉不是很可控呢, 要不咱们 v4 发大版本的时候再升级这个?

crazylxr avatar Aug 17 '25 09:08 crazylxr

emm,产物是否有风险感觉不是很可控呢, 要不咱们 v4 发大版本的时候再升级这个?

理论上是存在不可控的, 我本地跑了下单侧还好

meet-student avatar Aug 17 '25 10:08 meet-student

放到 v4 把,稳一点

crazylxr avatar Aug 17 '25 12:08 crazylxr

可否换成 rslib?它基于rspack并且专门用于库开发

ianzone avatar Aug 17 '25 14:08 ianzone

可否换成 rslib?它基于rspack并且专门用于库开发

对哦, 我空了可以改下, 谢谢

meet-student avatar Aug 17 '25 14:08 meet-student

放到 v4 把,稳一点

ok

meet-student avatar Aug 17 '25 14:08 meet-student

看下这个 https://github.com/alibaba/hooks/pull/2827

ianzone avatar Aug 17 '25 15:08 ianzone

看下这个 #2827

url-state 现在我没有权限发版,找不到发版的人了,先这样吧,下个大版本重新换个名字

crazylxr avatar Aug 18 '25 10:08 crazylxr

看下这个 #2827

url-state 现在我没有权限发版,找不到发版的人了,先这样吧,下个大版本重新换个名字

为啥url-state不在hooks里面,要单独列出来

ianzone avatar Aug 20 '25 02:08 ianzone