fregante / fregante/abort-utils
DOM utils
- Dominant language
- TypeScript
- Stars
- 162
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Not sure if it's worth creating a new package for this but:
- `addClasses(element, ['class'], {signal})`
- `appendElement(element, child, {signal})`
The latter might be easier to use as:
```js
element.append(child);
onAbort(signal, element) // after I add support for .remove()
```
Maybe `abortable-dom`?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by reviewing the existing abort-utils API and clarifying whether these DOM helpers belong in this package or a new one. Done means the package boundary and the proposed abortable DOM API have been agreed before implementation begins.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100