Easy use of the TreeWalker API
- Small size < 0.5 Kb
- SSR supports
yarn add @sldo/use-tree-walker
# or
npm i @sldo/use-tree-walker --save
Full usage documentation - https://dom.spec.whatwg.org/#interface-treewalker
https://github.com/SlDo/useTreeWalker/blob/master/CHANGELOG.md