Walk a React (or Preact) element tree, executing a "visitor" function against each element.
Initial release 🚀