hooks
hooks copied to clipboard
feat(useRowSpan): calculate rowspan data based on hierarchical data structure
🤔 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
兄弟可以把测试文件改为vitest的吗?路径为 tests/index.spec.ts
jest 将被移除
npm i https://pkg.pr.new/ahooks@2815
npm i https://pkg.pr.new/@ahooksjs/use-url-state@2815
commit: 6821fcc
兄弟可以把测试文件改为vitest的吗?路径为
tests/index.spec.tsjest 将被移除
已经改了