ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
96 stars 9 forks source link

leverage `event.composedPath` for static router cross browser event delegation support #1069

Closed thescientist13 closed 1 year ago

thescientist13 commented 1 year ago

Related Issue

resolves #1068 / #559

Summary of Changes

  1. Found a cross browser compatible API for static router (composedPath 💯 🙌

TODO

  1. [x] Seems to work on all browsers (even Safari) but will want to do some more testing first
  2. [x] Clean up console logging
  3. [ ] Can we unmark this as experimental in the docs?