hooks icon indicating copy to clipboard operation
hooks copied to clipboard

feat(useRowSpan): calculate rowspan data based on hierarchical data structure

Open chenJJ-88 opened this issue 5 months ago • 4 comments

[中文版模板 / Chinese template]

🤔 This is a ...

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

🔗 Related issue link

💡 Background and solution

  • 一个通过源数据来计算 row span 的hook,主要是自己最近实际开发中遇到多次类似的需求,就封了一个,可以看一下是否有需要

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

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

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

chenJJ-88 avatar Jul 24 '25 08:07 chenJJ-88

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 24 '25 08:07 CLAassistant

兄弟可以把测试文件改为vitest的吗?路径为 tests/index.spec.ts jest 将被移除

ianzone avatar Jul 25 '25 18:07 ianzone

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

commit: 6821fcc

pkg-pr-new[bot] avatar Jul 27 '25 06:07 pkg-pr-new[bot]

兄弟可以把测试文件改为vitest的吗?路径为 tests/index.spec.ts jest 将被移除

已经改了

chenJJ-88 avatar Jul 28 '25 02:07 chenJJ-88