zambezi / caballo-vivo

Glue code for pure RxJS applications to connect with React-Router, and other operators
2 stars 7 forks source link

Error on navigating to an anchor whose ID starts with a number #36

Closed zmb-mark closed 5 years ago

zmb-mark commented 5 years ago

ids like 1st-section are HTML-valid, but #1st-section is not a valid selector for .querySelector.

Proposed solution: Use a selector like [id="#1st-section"].