Setup
Two routes will render different pages:
page('/fruits', () => {})
page('/veggies', () => {})
page('/fruits/:name', () => {})
page('/veggies/:name', () => {})
page()
Problem
If on page /fruits/banana#calories you click on a link href "/veggies/tomato" (no other attribute), the page will reload. No problem with either /fruits/banana# or /fruits/banana. Sounds like an issue with handling hash?
Setup
Two routes will render different pages:
Problem
If on page
/fruits/banana#caloriesyou click on a link href"/veggies/tomato"(no other attribute), the page will reload. No problem with either/fruits/banana#or/fruits/banana. Sounds like an issue with handling hash?